rename filename to id

This commit is contained in:
Girish Ramakrishnan
2016-04-04 12:20:34 -07:00
parent e528dbcfc0
commit bbff195863
4 changed files with 31 additions and 15 deletions

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, currently this is also the id */
id VARCHAR(128) NOT NULL,
creationTime TIMESTAMP,
version VARCHAR(128) NOT NULL, /* app version or box version */
type VARCHAR(16) NOT NULL, /* 'box' or 'app' */