From 77c833c4e69c01656e35ac940aa1d71b2a3690ba Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Tue, 26 Apr 2005 19:57:55 +0000 Subject: [PATCH] Add user_email_* columns to tables.sql, so that the installer works for fresh installations --- maintenance/tables.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.20.1