Fix wgDBprefix name, remove backslashes, remove zerofill column stuff, fix spacing.
authorGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 13 Dec 2007 18:16:43 +0000 (18:16 +0000)
committerGreg Sabino Mullane <greg@users.mediawiki.org>
Thu, 13 Dec 2007 18:16:43 +0000 (18:16 +0000)
maintenance/tables.sql

index 32f5d6d..2febaaf 100644 (file)
@@ -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*/;