load latest *good* config

This commit is contained in:
Josh Harvey 2017-04-24 18:52:51 +03:00
parent dd7d06f38b
commit 5f0b70ca42
4 changed files with 31 additions and 13 deletions

View file

@ -0,0 +1,12 @@
var db = require('./db')
exports.up = function (next) {
var sql = [
'alter table user_config add column valid boolean not null'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}