parent
c54b68c8da
commit
f2fe2f0255
|
@ -503,7 +503,7 @@ INSERT INTO system VALUES ('themes/marvin/marvin.theme','marvin','theme','Intern
|
|||
INSERT INTO variable(name,value) VALUES('update_start', 's:10:"2003-10-22";');
|
||||
INSERT INTO variable(name,value) VALUES('theme_default','s:6:"marvin";');
|
||||
|
||||
INSERT INTO users(uid,name,mail,rid) VALUES(0,'Anonymous','root@localhost','1');
|
||||
INSERT INTO users(uid,name,mail,rid) VALUES(0,'','','1');
|
||||
|
||||
INSERT INTO blocks(module,delta,status,custom,region,weight,path) VALUES('user', 0, 1, 0, 1, 0, '');
|
||||
INSERT INTO blocks(module,delta,status,custom,region,weight,path) VALUES('user', 1, 1, 0, 1, 0, '');
|
||||
|
|
|
@ -588,7 +588,7 @@ INSERT INTO system VALUES ('modules/page.module','page','module','',1);
|
|||
INSERT INTO system VALUES ('modules/story.module','story','module','',1);
|
||||
INSERT INTO system VALUES ('modules/taxonomy.module','taxonomy','module','',1);
|
||||
INSERT INTO system VALUES ('themes/marvin/marvin.theme','marvin','theme','Internet explorer, Netscape, Opera',1);
|
||||
INSERT INTO users (uid, name, mail, rid) VALUES ('0', 'Anonymous', 'root@localhost', '1');
|
||||
INSERT INTO users (uid, name, mail, rid) VALUES ('0', '', '', '1');
|
||||
|
||||
REPLACE variable SET name='update_start', value='s:10:"2003-10-22;"';
|
||||
REPLACE variable SET name='theme_default', value='s:6:"marvin";';
|
||||
|
|
|
@ -592,7 +592,7 @@ INSERT INTO system VALUES ('themes/marvin/marvin.theme','marvin','theme','Intern
|
|||
|
||||
INSERT INTO variable(name,value) VALUES('update_start', 's:10:"2003-10-22";');
|
||||
INSERT INTO variable(name,value) VALUES('theme_default','s:6:"marvin";');
|
||||
INSERT INTO users(uid,name,mail,rid) VALUES(0,'Anonymous','root@localhost', '1');
|
||||
INSERT INTO users(uid,name,mail,rid) VALUES(0,'','', '1');
|
||||
|
||||
INSERT INTO blocks(module,delta,status) VALUES('user', '0', '1');
|
||||
INSERT INTO blocks(module,delta,status) VALUES('user', '1', '1');
|
||||
|
|
|
@ -440,11 +440,11 @@ function _update_next_thread($structure, $parent) {
|
|||
|
||||
function update_63() {
|
||||
if ($GLOBALS["db_type"] == "pgsql") {
|
||||
update_sql("INSERT INTO {users} (uid, name, mail, timestamp) VALUES ('0', 'Anonymous', 'root@localhost', '". time() ."')");
|
||||
update_sql("INSERT INTO {users} (uid, name, mail, timestamp) VALUES ('0', '', '', '". time() ."')");
|
||||
}
|
||||
else {
|
||||
update_sql("ALTER TABLE {users} CHANGE uid uid int(10) unsigned NOT NULL default '0'");
|
||||
update_sql("INSERT INTO {users} (uid, name, mail, timestamp) VALUES ('0', 'Anonymous', 'root@localhost', '". time() ."')");
|
||||
update_sql("INSERT INTO {users} (uid, name, mail, timestamp) VALUES ('0', '', '', '". time() ."')");
|
||||
$users = db_result(db_query("SELECT MAX(uid) FROM {users};"));
|
||||
update_sql("INSERT INTO {sequences} (name, id) VALUES ('users_uid', '$users')");
|
||||
}
|
||||
|
@ -536,8 +536,10 @@ function update_69() {
|
|||
else {
|
||||
update_sql("ALTER TABLE {statistics} RENAME TO {node_counter}");
|
||||
update_sql("ALTER TABLE {path} RENAME TO {url_alias}");
|
||||
update_sql("UPDATE {sequences} set name = '{url_alias}_pid' where name = '{path}_pid'");
|
||||
update_sql("UPDATE {sequences} SET name = '{url_alias}_pid' WHERE name = '{path}_pid'");
|
||||
}
|
||||
|
||||
update_sql("UPDATE {users} SET name = '' WHERE uid = 0;");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue