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.
This commit is contained in:
Chris Morgan
2007-07-31 23:48:22 +00:00
committed by WineHQ
parent 8b7fdf606c
commit b94a2a392b
22 changed files with 96 additions and 81 deletions

View File

@@ -3,13 +3,13 @@ use apidb;
drop table if exists user_list;
create table user_list (
stamp timestamp not null,
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 timestamp not null, /* the time we warned the user */
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),