From: Jens Frank Date: Tue, 26 Apr 2005 19:57:55 +0000 (+0000) Subject: Add user_email_* columns to tables.sql, so that the installer works for fresh install... X-Git-Tag: 1.5.0alpha1~118 X-Git-Url: http://git.cyclocoop.org/url?a=commitdiff_plain;h=77c833c4e69c01656e35ac940aa1d71b2a3690ba;p=lhc%2Fweb%2Fwiklou.git Add user_email_* columns to tables.sql, so that the installer works for fresh installations --- diff --git a/maintenance/tables.sql b/maintenance/tables.sql index 37aa3bbb99..114549ab4e 100644 --- a/maintenance/tables.sql +++ b/maintenance/tables.sql @@ -15,8 +15,13 @@ CREATE TABLE /*$wgDBprefix*/user ( user_options blob NOT NULL default '', user_touched char(14) binary NOT NULL default '', user_token char(32) binary NOT NULL default '', + user_email_authenticated CHAR(14) BINARY, + user_email_token CHAR(32) BINARY, + user_email_token_expires CHAR(14) BINARY, + PRIMARY KEY user_id (user_id), - INDEX user_name (user_name(10)) + INDEX user_name (user_name(10)), + INDEX (user_email_token) ); -- TODO: de-blob this; it should be a property table