feat: admin storage - save + list

This commit is contained in:
NGPixel
2018-06-25 22:04:47 -04:00
parent 2500d8b054
commit bb102c3356
11 changed files with 311 additions and 40 deletions

View File

@@ -95,6 +95,7 @@ exports.up = knex => {
table.string('key').notNullable().unique()
table.string('title').notNullable()
table.boolean('isEnabled').notNullable().defaultTo(false)
table.enum('mode', ['sync', 'push', 'pull']).notNullable().defaultTo('push')
table.jsonb('config')
})
// TAGS --------------------------------