This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/tables/user_list.sql
Jonathan Ernst d9826427da This patch make email address the user's username as requested in the TODO.
query_users.php is modified even if we will drop it in the future to be sure it works everywhere.
2005-01-10 22:54:04 +00:00

23 lines
590 B
SQL

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,
status int(4),
perm int(4),
CVSrelease text,
unique key(userid),
unique(email)
);
insert into user_list values (NOW(), 0, password('testing'), 'Administrator',
'Admin@localhost', NOW(), 0, 0xffffffff);
update user_list set userid = 1000 where email = 'Admin@localhost';