WIP
This commit is contained in:
parent
becd62a1fb
commit
938eb9ac97
9 changed files with 153 additions and 68 deletions
14
migrations/019-remove-dispense-counts.js
Normal file
14
migrations/019-remove-dispense-counts.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
'alter table dispenses drop column count1',
|
||||
'alter table dispenses drop column count2',
|
||||
'alter table dispenses drop column refill'
|
||||
]
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue