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 b94a2a392b Convert from timestamp to datetime. Datetime is consistent between mysql 4.0x and newer
versions and is faster for date/time computations. Modify object creation methods to specify
any time fields that were previously updated with timestamp properties.
2007-07-31 23:48:22 +00:00

23 lines
802 B
SQL

use apidb;
drop table if exists user_list;
create table user_list (
stamp datetime 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,
inactivity_warn_stamp datetime not null, /* the time we warned the user */
inactivity_warned enum('true','false') NOT NULL default 'false', /* if true, we warned the user */
CVSrelease text,
unique key(userid),
unique(email)
);
insert into user_list values (NOW(), 0, password('testing'), 'Administrator',
'Admin@localhost', NOW(), NOW(), 'false' ,'' );
update user_list set userid = 1000 where email = 'Admin@localhost';