schema: add cron to apps table

This commit is contained in:
Girish Ramakrishnan
2021-12-03 11:40:55 -08:00
parent aab69772e6
commit 5592dc8a42

View File

@@ -98,6 +98,7 @@ CREATE TABLE IF NOT EXISTS apps(
containerIp VARCHAR(16) UNIQUE, // this is not-null because of ip allocation fails, user can 'repair' containerIp VARCHAR(16) UNIQUE, // this is not-null because of ip allocation fails, user can 'repair'
appStoreIcon MEDIUMBLOB, appStoreIcon MEDIUMBLOB,
icon MEDIUMBLOB, icon MEDIUMBLOB,
crontab TEXT,
FOREIGN KEY(mailboxDomain) REFERENCES domains(domain), FOREIGN KEY(mailboxDomain) REFERENCES domains(domain),
FOREIGN KEY(taskId) REFERENCES tasks(id), FOREIGN KEY(taskId) REFERENCES tasks(id),