r109222 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109221‎ | r109222 | r109223 >
Date:21:48, 17 January 2012
Author:awjrichards
Status:ok
Tags:
Comment:
Reverting r109213, change actually not needed due to the way in which the senator data was compiled
Modified paths:
  • /trunk/extensions/CongressLookup/patches/CongressLookup.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CongressLookup/patches/CongressLookup.sql
@@ -27,11 +27,9 @@
2828 ) /*$wgDBTableOptions*/;
2929
3030 CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cl_zip3 (
31 - `clz3_id` int(10) unsigned NOT NULL PRIMARY KEY auto_increment,
32 - `clz3_zip` int(3) unsigned NOT NULL,
 31+ `clz3_zip` int(3) unsigned NOT NULL PRIMARY KEY,
3332 `clz3_state` varchar(2) DEFAULT NULL
3433 ) /*$wgDBTableOptions*/;
35 -CREATE INDEX /*i*/clz3_zip ON /*$wgDBprefix*/cl_zip3 (clz3_zip);
3634
3735 CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cl_zip5 (
3836 `clz5_id` int(10) unsigned NOT NULL PRIMARY KEY auto_increment,

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109213Added auto-increment id field for cl_zip3 table. clz3_zip cannot be a primary...awjrichards20:58, 17 January 2012

Status & tagging log