diff options
Diffstat (limited to 'database')
-rw-r--r-- | database/database.pgsql | 2 | ||||
-rw-r--r-- | database/updates.inc | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/database/database.pgsql b/database/database.pgsql index 31f6ed7e3..f68419255 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -390,7 +390,7 @@ CREATE INDEX locales_target_plural_idx ON locales_target(plural); -- -CREATE SEQUENCE menu_mid_seq START 2; +CREATE SEQUENCE menu_mid_seq START 2; CREATE TABLE menu ( mid integer NOT NULL DEFAULT nextval('menu_mid_seq'), pid integer NOT NULL default '0', diff --git a/database/updates.inc b/database/updates.inc index 7bc127c87..f3b3eb863 100644 --- a/database/updates.inc +++ b/database/updates.inc @@ -1593,7 +1593,7 @@ function system_update_173() { // PostgreSQL needs CREATE TABLE foobar _AS_ SELECT ... $AS = ($GLOBALS['db_type'] == 'pgsql') ? 'AS' : ''; - + // Backup the files table. $ret[] = update_sql("CREATE TABLE {files_backup} $AS SELECT * FROM {files}"); @@ -1852,7 +1852,7 @@ function system_update_178() { $args[] = $node->vid; db_query('UPDATE {node_revisions} SET '. implode(', ', $set) .' WHERE vid = %d', $args); } - + } if ($_SESSION['system_update_178_comment'] == $_SESSION['system_update_178_comment_max'] && @@ -1946,7 +1946,7 @@ function system_update_179() { if ($field->value !== FALSE) { db_query("UPDATE {profile_values} SET value = '%s' WHERE uid = %d AND fid = %d", $field->value, $field->uid, $field->fid); } - + } // Done? |