store backup configuration as part of backups table

This commit is contained in:
Girish Ramakrishnan
2016-03-30 14:53:36 -07:00
parent 22b8154a39
commit c097651a88
4 changed files with 27 additions and 5 deletions

View File

@@ -105,5 +105,6 @@ CREATE TABLE IF NOT EXISTS backups(
type VARCHAR(16) NOT NULL, /* 'box' or 'app' */
dependsOn VARCHAR(4096), /* comma separate list of objects this backup depends on */
state VARCHAR(16) NOT NULL,
configJson TEXT, /* configuration - bucket, prefix, key, provider */
PRIMARY KEY (filename));