From: Aaron Schulz Date: Thu, 3 Mar 2011 06:28:43 +0000 (+0000) Subject: Fixed patch from r33520 X-Git-Tag: 1.31.0-rc.0~31678 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=a9bba5464972fb8ea5a923cb1b5c7bde86e02d4f;p=lhc%2Fweb%2Fwiklou.git Fixed patch from r33520 --- diff --git a/maintenance/archives/patch-user_last_timestamp.sql b/maintenance/archives/patch-user_last_timestamp.sql index b6d5f0f358..e5f85bf1e0 100644 --- a/maintenance/archives/patch-user_last_timestamp.sql +++ b/maintenance/archives/patch-user_last_timestamp.sql @@ -1,3 +1,3 @@ -- For getting diff since last view ALTER TABLE /*$wgDBprefix*/user_newtalk - ADD user_last_timestamp binary(14) NOT NULL default ''; + ADD user_last_timestamp varbinary(14) NULL default NULL; diff --git a/maintenance/tables.sql b/maintenance/tables.sql index fba27cd734..11392f1855 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -176,7 +176,7 @@ CREATE TABLE /*_*/user_newtalk ( user_ip varbinary(40) NOT NULL default '', -- The highest timestamp of revisions of the talk page viewed -- by this user - user_last_timestamp binary(14) NOT NULL default '' + user_last_timestamp varbinary(14) NULL default NULL ) /*$wgDBTableOptions*/; -- Indexes renamed for SQLite in 1.14