r113377 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113376‎ | r113377 | r113378 >
Date:18:30, 8 March 2012
Author:catrope
Status:deferred
Tags:
Comment:
Followup r113206: this index can't be UNIQUE because we have duplicate values in production :(
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/sql/ArticleFeedbackv5.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/sql/ArticleFeedbackv5.sql
@@ -93,7 +93,7 @@
9494 -- Which 'bucket' this field should be rendered in.
9595 afi_bucket_id integer unsigned NOT NULL
9696 ) /*$wgDBTableOptions*/;
97 -CREATE UNIQUE INDEX /*i*/afi_name ON /*_*/aft_article_field (afi_name);
 97+CREATE INDEX /*i*/afi_name ON /*_*/aft_article_field (afi_name);
9898
9999 -- Stores options for multi-value feedback fields (ie, select boxes)
100100 CREATE TABLE IF NOT EXISTS /*_*/aft_article_field_option (

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r113206Create a unique index on afi_name, and force an index on the logging querycatrope01:03, 7 March 2012

Status & tagging log