From: Aryeh Gregor Date: Sun, 16 Dec 2007 21:27:57 +0000 (+0000) Subject: (bug 12314) r28417 kind of left out tables.sql . . . changed pt_by to pt_user and... X-Git-Tag: 1.31.0-rc.0~50387 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=a882348d84acadc5966a89cfe06a1f3eaa7c2c1d;p=lhc%2Fweb%2Fwiklou.git (bug 12314) r28417 kind of left out tables.sql . . . changed pt_by to pt_user and removed pt_user index from tables.sql. This fixes MySQL, PostgreSQL still needs to be fixed. --- diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 2febaaffae..6282f52287 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -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*/;