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:
@@ -7,7 +7,7 @@ create table user_list (
|
||||
userid int not null auto_increment,
|
||||
password text not null,
|
||||
realname text not null,
|
||||
email text not null,
|
||||
email varchar(255) not null,
|
||||
created datetime not null,
|
||||
CVSrelease text,
|
||||
unique key(userid),
|
||||
@@ -15,6 +15,6 @@ create table user_list (
|
||||
);
|
||||
|
||||
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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user