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/monitors.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

19 lines
394 B
SQL

use apidb;
drop table if exists appMonitors;
/*
* Let users monitor changes to applications
*/
create table appMonitors (
monitorId int not null auto_increment,
appId int not null,
versionId int not null,
submitTime datetime NOT NULL,
userId int(11) NOT NULL default '0',
key(monitorId),
index(appid),
index(versionId),
index(userId)
);