From: Andrew Garrett Date: Tue, 11 Dec 2007 14:09:26 +0000 (+0000) Subject: Remove annoying `s from the definition of the protected_titles table. X-Git-Tag: 1.31.0-rc.0~50461 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%29%20.%20%22?a=commitdiff_plain;h=3f65433da78582804a672fd503ae3bf562dee38e;p=lhc%2Fweb%2Fwiklou.git Remove annoying `s from the definition of the protected_titles table. --- diff --git a/maintenance/archives/patch-protected_titles.sql b/maintenance/archives/patch-protected_titles.sql index da1df179b9..1db4d35494 100644 --- a/maintenance/archives/patch-protected_titles.sql +++ b/maintenance/archives/patch-protected_titles.sql @@ -1,13 +1,13 @@ -- Protected titles - nonexistent pages that have been protected -CREATE TABLE `/*$wgDBPrefix*/protected_titles` ( - `pt_namespace` int(11) NOT NULL, - `pt_title` varchar(255) NOT NULL, - `pt_by` int(10) 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`), - KEY `pt_timestamp` (`pt_timestamp`) -) /*$wgDBTableOptions*/ \ No newline at end of file +CREATE TABLE /*$wgDBPrefix*/protected_titles ( + pt_namespace int(11) NOT NULL, + pt_title varchar(255) NOT NULL, + pt_by int(10) 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), + KEY pt_timestamp (pt_timestamp) +) /*$wgDBTableOptions*/; \ No newline at end of file diff --git a/maintenance/tables.sql b/maintenance/tables.sql index adc22e2cfa..32f5d6d513 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -1169,17 +1169,17 @@ 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, - `pt_title` varchar(255) NOT NULL, - `pt_by` int(10) 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`), - KEY `pt_timestamp` (`pt_timestamp`) -) /*$wgDBTableOptions*/ +CREATE TABLE /*$wgDBPrefix*/protected_titles ( + pt_namespace int(11) NOT NULL, + pt_title varchar(255) NOT NULL, + pt_by int(10) 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), + KEY pt_timestamp (pt_timestamp) +) /*$wgDBTableOptions*/; -- vim: sw=2 sts=2 et