Remove annoying `s from the definition of the protected_titles table.
authorAndrew Garrett <werdna@users.mediawiki.org>
Tue, 11 Dec 2007 14:09:26 +0000 (14:09 +0000)
committerAndrew Garrett <werdna@users.mediawiki.org>
Tue, 11 Dec 2007 14:09:26 +0000 (14:09 +0000)
maintenance/archives/patch-protected_titles.sql
maintenance/tables.sql

index da1df17..1db4d35 100644 (file)
@@ -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
index adc22e2..32f5d6d 100644 (file)
@@ -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