rename installationProgress to errorMessage

This commit is contained in:
Girish Ramakrishnan
2019-08-27 20:08:35 -07:00
parent 7da80b4c62
commit 20de563925
11 changed files with 39 additions and 24 deletions
+1 -1
View File
@@ -64,7 +64,6 @@ CREATE TABLE IF NOT EXISTS apps(
id VARCHAR(128) NOT NULL UNIQUE,
appStoreId VARCHAR(128) NOT NULL,
installationState VARCHAR(512) NOT NULL,
installationProgress TEXT,
runState VARCHAR(512),
health VARCHAR(128),
healthTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, // when the app last responded
@@ -89,6 +88,7 @@ CREATE TABLE IF NOT EXISTS apps(
tagsJson VARCHAR(2048), // array of tags
dataDir VARCHAR(256) UNIQUE,
taskId INTEGER, // current task
errorMessage TEXT,
FOREIGN KEY(taskId) REFERENCES tasks(id),
PRIMARY KEY(id));