Make runState non-nullable

This commit is contained in:
Girish Ramakrishnan
2019-09-22 22:07:14 -07:00
parent 217632354f
commit ce133b997d
3 changed files with 23 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ CREATE TABLE IF NOT EXISTS apps(
id VARCHAR(128) NOT NULL UNIQUE,
appStoreId VARCHAR(128) NOT NULL,
installationState VARCHAR(512) NOT NULL, // the active task on the app
runState VARCHAR(512), // if the app is stopped
runState VARCHAR(512) NOT NULL, // if the app is stopped
health VARCHAR(128),
healthTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, // when the app last responded
containerId VARCHAR(128),