Remove some tabs and fix indenting. Make email column a varchar(255) so we can mark it as unique, you can't have a unique text column in mysql.

This commit is contained in:
Chris Morgan
2005-06-05 18:30:34 +00:00
committed by WineHQ
parent e021ff434d
commit ad3ae41fa2

View File

@@ -3,18 +3,18 @@ use apidb;
drop table if exists user_list; drop table if exists user_list;
create table user_list ( create table user_list (
stamp timestamp not null, stamp timestamp not null,
userid int not null auto_increment, userid int not null auto_increment,
password text not null, password text not null,
realname text not null, realname text not null,
email text not null, email varchar(255) not null,
created datetime not null, created datetime not null,
CVSrelease text, CVSrelease text,
unique key(userid), unique key(userid),
unique(email) unique(email)
); );
insert into user_list values (NOW(), 0, password('testing'), 'Administrator', 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'; update user_list set userid = 1000 where email = 'Admin@localhost';