Add healthTime in the database

this is currently an internal field and not returned in API
This commit is contained in:
Girish Ramakrishnan
2019-02-12 16:03:12 -08:00
parent 70e5daf8c6
commit 5980ab9b69
5 changed files with 47 additions and 35 deletions
+1
View File
@@ -65,6 +65,7 @@ CREATE TABLE IF NOT EXISTS apps(
installationProgress TEXT,
runState VARCHAR(512),
health VARCHAR(128),
healthTime TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, // when the app last responded
containerId VARCHAR(128),
manifestJson TEXT,
httpPort INTEGER, // this is the nginx proxy port and not manifest.httpPort