Add backups.restoreConfig field with migration

This commit is contained in:
Johannes Zellner
2017-04-18 10:13:17 +02:00
parent 5eaade1079
commit a1dfc2b47b
2 changed files with 88 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ CREATE TABLE IF NOT EXISTS backups(
type VARCHAR(16) NOT NULL, /* 'box' or 'app' */
dependsOn TEXT, /* comma separate list of objects this backup depends on */
state VARCHAR(16) NOT NULL,
restoreConfig TEXT, /* JSON including the manifest of the backed up app */
PRIMARY KEY (filename));