(bug 12314) r28417 kind of left out tables.sql . . . changed pt_by to pt_user and...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 16 Dec 2007 21:27:57 +0000 (21:27 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Sun, 16 Dec 2007 21:27:57 +0000 (21:27 +0000)
maintenance/tables.sql

index 2febaaf..6282f52 100644 (file)
@@ -1172,13 +1172,12 @@ CREATE TABLE /*$wgDBprefix*/page_restrictions (
 CREATE TABLE /*$wgDBprefix*/protected_titles (
   pt_namespace int NOT NULL,
   pt_title varchar(255) NOT NULL,
-  pt_by int unsigned NOT NULL,
+  pt_user 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),
   KEY pt_timestamp (pt_timestamp)
 ) /*$wgDBTableOptions*/;