From: Brion Vibber Date: Thu, 21 Dec 2006 21:43:01 +0000 (+0000) Subject: corrections to last tweaks X-Git-Tag: 1.31.0-rc.0~54822 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=4af89fb739cdedadf9ecc6daff0278a6f884d565;p=lhc%2Fweb%2Fwiklou.git corrections to last tweaks --- diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 112b245f0b..188ca63e36 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -258,7 +258,7 @@ CREATE TABLE /*$wgDBprefix*/revision ( rev_user int(5) unsigned NOT NULL default '0', -- Text username or IP address of the editor. - rev_user_text varchar(255) binary NOT NULL, + rev_user_text varchar(255) binary NOT NULL default '', -- Timestamp rev_timestamp char(14) binary NOT NULL default '', diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index 86cfb3b0c7..84eda278ec 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -385,7 +385,7 @@ function do_schema_restructuring() { page_id int(8) unsigned NOT NULL auto_increment, page_namespace int NOT NULL, page_title varchar(255) binary NOT NULL, - page_restrictions tinyblob NOT NULL default '', + page_restrictions tinyblob NOT NULL, page_counter bigint(20) unsigned NOT NULL default '0', page_is_redirect tinyint(1) unsigned NOT NULL default '0', page_is_new tinyint(1) unsigned NOT NULL default '0', @@ -402,7 +402,7 @@ function do_schema_restructuring() { $wgDatabase->query("CREATE TABLE $revision ( rev_id int(8) unsigned NOT NULL auto_increment, rev_page int(8) unsigned NOT NULL, - rev_comment tinyblob NOT NULL default '', + rev_comment tinyblob NOT NULL, rev_user int(5) unsigned NOT NULL default '0', rev_user_text varchar(255) binary NOT NULL default '', rev_timestamp char(14) binary NOT NULL default '',