From: Brion Vibber Date: Wed, 26 Dec 2007 22:27:48 +0000 (+0000) Subject: Clean up table def in patch file X-Git-Tag: 1.31.0-rc.0~50270 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=7fbd5c204805c523bbce899413b35e683dd7a6e8;p=lhc%2Fweb%2Fwiklou.git Clean up table def in patch file --- diff --git a/maintenance/archives/patch-protected_titles.sql b/maintenance/archives/patch-protected_titles.sql index 627d438013..5307cbdd61 100644 --- a/maintenance/archives/patch-protected_titles.sql +++ b/maintenance/archives/patch-protected_titles.sql @@ -1,13 +1,12 @@ -- Protected titles - nonexistent pages that have been protected CREATE TABLE /*$wgDBprefix*/protected_titles ( - pt_namespace int(11) NOT NULL, + pt_namespace int NOT NULL, pt_title varchar(255) NOT NULL, - pt_user int(10) unsigned NOT NULL, + pt_user int unsigned NOT NULL, pt_reason tinyblob, pt_timestamp binary(14) NOT NULL, pt_expiry varbinary(14) NOT NULL default '', pt_create_perm varbinary(60) NOT NULL, - PRIMARY KEY (pt_namespace,pt_title), - + PRIMARY KEY (pt_namespace,pt_title), KEY pt_timestamp (pt_timestamp) -) /*$wgDBTableOptions*/; \ No newline at end of file +) /*$wgDBTableOptions*/;