load latest *good* config
This commit is contained in:
parent
dd7d06f38b
commit
5f0b70ca42
4 changed files with 31 additions and 13 deletions
12
migrations/029-add_valid_to_user_config.js
Normal file
12
migrations/029-add_valid_to_user_config.js
Normal 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()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue