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
Chris Morgan 89e7284f34 Add appdb/tables/create_tables script to run the sql necessary to create and
setup appdb tables.  Add app_category.sql and session_list.sql from Jeremy,
without these the database wasn't handling logins correctly and had no
categories.  README now has some instructions on how to setup a local appdb.
Modified config.php.sample to point to apidb to match what is in the sql in
appdb/tables.  Sql for table creation to use "if exists" to prevent data
base errors on trying to drop tables that don't exist.
2004-03-24 15:51:49 +00:00

23 lines
611 B
SQL

use apidb;
drop table if exists user_list;
create table user_list (
stamp timestamp not null,
userid int not null auto_increment,
username text not null,
password text not null,
realname text not null,
email text not null,
created datetime not null,
status int(4),
perm int(4),
unique key(userid),
unique(username(12))
);
insert into user_list values (NOW(), 0, 'int', password('testing'), 'Charles Loep',
'charles@codeweavers.com', NOW(), 0, 0xffffffff);
update user_list set userid = 1000 where username = 'int';