add note that filename is reused as id

This commit is contained in:
Girish Ramakrishnan
2016-03-30 15:17:04 -07:00
parent c097651a88
commit ba69316c14

View File

@@ -99,7 +99,7 @@ CREATE TABLE IF NOT EXISTS appAddonConfigs(
FOREIGN KEY(appId) REFERENCES apps(id));
CREATE TABLE IF NOT EXISTS backups(
filename VARCHAR(128) NOT NULL, /* s3 url */
filename VARCHAR(128) NOT NULL, /* s3 url, currently this is also the id */
creationTime TIMESTAMP,
version VARCHAR(128) NOT NULL, /* app version or box version */
type VARCHAR(16) NOT NULL, /* 'box' or 'app' */