Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
e828470b
Commit
e828470b
authored
Jan 17, 2006
by
Dries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Patch
#42088
by Cvbge: fixed problem with input formats gettin lost when upgrading.
parent
df631e3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
database/updates.inc
database/updates.inc
+1
-1
No files found.
database/updates.inc
View file @
e828470b
...
...
@@ -749,7 +749,7 @@ function system_update_146() {
timestamp integer NOT NULL default '0',
format int NOT NULL default '0',
PRIMARY KEY (nid,vid))"
);
$ret
[]
=
update_sql
(
"INSERT INTO
{
node_revisions
}
$ret
[]
=
update_sql
(
"INSERT INTO
{
node_revisions
}
(nid, vid, uid, title, body, teaser, timestamp, format)
SELECT nid, nid AS vid, uid, title, body, teaser, changed AS timestamp, format
FROM
{
node
}
"
);
$ret
[]
=
update_sql
(
'CREATE INDEX {node_revisions}_uid_idx ON {node_revisions}(uid)'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment