diff --git a/tables/user_list.sql b/tables/user_list.sql index 283157e..1c390a0 100644 --- a/tables/user_list.sql +++ b/tables/user_list.sql @@ -3,18 +3,18 @@ use apidb; drop table if exists user_list; create table user_list ( - stamp timestamp not null, - userid int not null auto_increment, - password text not null, - realname text not null, - email text not null, - created datetime not null, - CVSrelease text, - unique key(userid), - unique(email) + stamp timestamp not null, + userid int not null auto_increment, + password text not null, + realname text not null, + email varchar(255) not null, + created datetime not null, + CVSrelease text, + unique key(userid), + unique(email) ); insert into user_list values (NOW(), 0, password('testing'), 'Administrator', - 'Admin@localhost', NOW(), 0, 0xffffffff); + 'Admin@localhost', NOW(), 0); update user_list set userid = 1000 where email = 'Admin@localhost';