Add the ability for user to monitor changes to applications
This commit is contained in:
18
tables/monitors.sql
Normal file
18
tables/monitors.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
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 timestamp(14) NOT NULL,
|
||||
userId int(11) NOT NULL default '0',
|
||||
key(monitorId),
|
||||
index(appid),
|
||||
index(versionId),
|
||||
index(userId)
|
||||
);
|
||||
Reference in New Issue
Block a user