From: Greg Sabino Mullane Date: Thu, 13 Dec 2007 18:16:43 +0000 (+0000) Subject: Fix wgDBprefix name, remove backslashes, remove zerofill column stuff, fix spacing. X-Git-Tag: 1.31.0-rc.0~50436 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=9fa6709264c0ed0c920c7f13dd2eded70f5f1fd7;p=lhc%2Fweb%2Fwiklou.git Fix wgDBprefix name, remove backslashes, remove zerofill column stuff, fix spacing. --- diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 32f5d6d513..2febaaffae 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1169,16 +1169,16 @@ CREATE TABLE /*$wgDBprefix*/page_restrictions ( ) /*$wgDBTableOptions*/; -- Protected titles - nonexistent pages that have been protected -CREATE TABLE /*$wgDBPrefix*/protected_titles ( - pt_namespace int(11) NOT NULL, +CREATE TABLE /*$wgDBprefix*/protected_titles ( + pt_namespace int NOT NULL, pt_title varchar(255) NOT NULL, - pt_by int(10) unsigned NOT NULL, + pt_by 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), - KEY `pt_by` (pt_by), + PRIMARY KEY (pt_namespace,pt_title), + KEY pt_by (pt_by), KEY pt_timestamp (pt_timestamp) ) /*$wgDBTableOptions*/;