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';