From 3f65433da78582804a672fd503ae3bf562dee38e Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Tue, 11 Dec 2007 14:09:26 +0000 Subject: [PATCH] Remove annoying `s from the definition of the protected_titles table. --- .../archives/patch-protected_titles.sql | 24 +++++++++---------- maintenance/tables.sql | 24 +++++++++---------- 2 files changed, 24 insertions(+), 24 deletions(-) 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 -- 2.20.1