Commit 7c4f8bae authored by Steven Wittens's avatar Steven Wittens
Browse files

#9861: Updates.inc/database.pgsql: incorrect menu sequence when $db_prefix was used.

parent 42f1c0c9
......@@ -734,6 +734,10 @@ INSERT INTO permission VALUES (2,'access comments, access content, post comments
INSERT INTO blocks(module,delta,status) VALUES('user', '0', '1');
INSERT INTO blocks(module,delta,status) VALUES('user', '1', '1');
INSERT INTO sequences (name, id) VALUES ('menu_mid', 1);
INSERT INTO node_access VALUES (0, 0, 'all', 1, 0, 0);
INSERT INTO filter_formats VALUES (1,'Filtered HTML',',1,2,',1);
INSERT INTO filter_formats VALUES (2,'PHP code','',0);
INSERT INTO filter_formats VALUES (3,'Full HTML','',1));
......
......@@ -962,7 +962,6 @@ function update_83() {
status int(1) unsigned NOT NULL default '0',
PRIMARY KEY (mid)
);");
$ret[] = update_sql("INSERT INTO {sequences} (name, id) VALUES ('menu_mid', 1)");
}
else {
$ret[] = update_sql("CREATE TABLE {menu} (
......@@ -977,6 +976,7 @@ function update_83() {
);");
}
db_next_id('{menu}_mid');
return $ret;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment