This commit is contained in:
Josh Harvey 2016-05-06 04:28:15 +03:00
parent cd1e9bdb66
commit 3e48e50757
5 changed files with 110 additions and 11 deletions

View file

@ -0,0 +1,13 @@
var db = require('./db')
exports.up = function (next) {
var sql = [
'alter table transactions add dispensed boolean NOT NULL DEFAULT false',
'alter table transactions add authorized boolean NOT NULL DEFAULT false'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}