r94911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94910‎ | r94911 | r94912 >
Date:17:19, 18 August 2011
Author:khorn
Status:ok
Tags:
Comment:
Suggested changes to the contribution_tracking table definition (r94791).
Modified paths:
  • /trunk/extensions/ContributionTracking/ContributionTracking.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ContributionTracking/ContributionTracking.sql
@@ -1,5 +1,5 @@
22 CREATE TABLE IF NOT EXISTS /*_*/contribution_tracking (
3 - id int(10) unsigned NOT NULL auto_increment,
 3+ id int(10) unsigned NOT NULL PRIMARY KEY auto_increment,
44 contribution_id int(10) unsigned default NULL,
55 note text,
66 referrer varchar(4096) default NULL,
@@ -11,8 +11,8 @@
1212 language varchar(8) default NULL,
1313 ts char(14) default NULL,
1414 owa_session varbinary(255) default NULL,
15 - owa_ref int(11) default NULL,
16 - PRIMARY KEY (id),
17 - UNIQUE KEY contribution_id (contribution_id),
18 - KEY ts (ts)
 15+ owa_ref int(11) default NULL
1916 ) /*wgDBTableOptions*/;
 17+
 18+CREATE UNIQUE INDEX /*i*/contribution_id ON /*_*/contribution_tracking (contribution_id);
 19+CREATE INDEX /*i*/ts ON /*_*/contribution_tracking (ts);
\ No newline at end of file

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r94791r94720...khorn18:54, 17 August 2011

Status & tagging log