add confirmemail table

darcs-hash:20080620041012-5ed1f-20a7d4df375250f5c4eff90cdab80b22348b1088.gz
This commit is contained in:
Evan Prodromou 2008-06-20 00:10:12 -04:00
parent 6a6ad1f76e
commit 8ecd2a6b1d
1 changed files with 7 additions and 0 deletions

View File

@ -144,3 +144,10 @@ create table oid_nonces (
salt CHAR(40),
UNIQUE (server_url(255), timestamp, salt)
) ENGINE=InnoDB;
create table confirmemail (
code varchar(32) not null primary key comment 'good random code',
user_id integer not null comment 'user who requested confirmation' references user (id),
email varchar(255) not null comment 'email address for password recovery etc.',
modified timestamp comment 'date this record was modified'
);