From: Brion Vibber Date: Thu, 17 Apr 2008 18:52:20 +0000 (+0000) Subject: Revert r33478 for now; I don't much like the field name user_timestamp, it's very... X-Git-Tag: 1.31.0-rc.0~48229 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22calendrier%22%2C%22type=semaine%22%29%20.%20%22?a=commitdiff_plain;h=d1de841c89b9762563c24357548c9fb42f1ff7fc;p=lhc%2Fweb%2Fwiklou.git Revert r33478 for now; I don't much like the field name user_timestamp, it's very unclear. Timestamp may not be ideal to build a diff link with, either. --- diff --git a/maintenance/archives/patch-user_timestamp.sql b/maintenance/archives/patch-user_timestamp.sql deleted file mode 100644 index b1f49a7d16..0000000000 --- a/maintenance/archives/patch-user_timestamp.sql +++ /dev/null @@ -1,3 +0,0 @@ --- For getting diff since last view -ALTER TABLE /*$wgDBprefix*/user_newtalk - ADD user_timestamp binary(14) NOT NULL default ''; diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 740bef6e61..fa7e75fe06 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -166,8 +166,6 @@ CREATE TABLE /*$wgDBprefix*/user_newtalk ( -- If the user is an anonymous user their IP address is stored here -- since the user_id of 0 is ambiguous user_ip varbinary(40) NOT NULL default '', - -- The lowest timestamp of revisions that user has yet to view - user_timestamp binary(14) NOT NULL default '', INDEX user_id (user_id), INDEX user_ip (user_ip) diff --git a/maintenance/updaters.inc b/maintenance/updaters.inc index 63a2671ac1..e0208b6e4f 100644 --- a/maintenance/updaters.inc +++ b/maintenance/updaters.inc @@ -138,7 +138,6 @@ $wgMysqlUpdates = array( array( 'add_table', 'category', 'patch-category.sql' ), array( 'do_category_population' ), array( 'add_field', 'archive', 'ar_parent_id', 'patch-ar_parent_id.sql'), - array( 'add_field', 'user_newtalk', 'user_timestamp', 'patch-user_timestamp.sql'), array( 'do_populate_parent_id' ), );