r109068 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r109067‎ | r109068 | r109069 >
Date:22:24, 16 January 2012
Author:khorn
Status:ok
Tags:
Comment:
followup r109023, r109055
Cleaning up the update sql.
Modified paths:
  • /trunk/extensions/CongressLookup/patches/CongressLookup.sql (modified) (history)

Diff [purge]

Index: trunk/extensions/CongressLookup/patches/CongressLookup.sql
@@ -9,7 +9,7 @@
1010 `ss_fax` varchar(32) NOT NULL,
1111 `ss_contactform` varchar(255) NOT NULL
1212 ) /*$wgDBTableOptions*/;
13 -CREATE INDEX /*i*/ss_state ON /*$wgDBprefix*/sopa_senate (ss_state);
 13+CREATE INDEX /*i*/ss_state ON /*$wgDBprefix*/cl_senate (ss_state);
1414
1515 CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cl_house (
1616 `sh_id` int(10) unsigned NOT NULL PRIMARY KEY,
@@ -25,7 +25,7 @@
2626 ) /*$wgDBTableOptions*/;
2727
2828 CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cl_zip3 (
29 - `sz3_zip` int(3) unsigned DEFAULT NULL PRIMARY KEY,
 29+ `sz3_zip` int(3) unsigned NOT NULL PRIMARY KEY,
3030 `sz3_state` varchar(2) DEFAULT NULL
3131 ) /*$wgDBTableOptions*/;
3232

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r109023initial skelton for CongressLookup extensionkaldari10:12, 16 January 2012
r109055follow-up to r109023 - sqlite support, and removing unnecessary MediaWiki checkkaldari19:45, 16 January 2012

Status & tagging log