Reserve notes for redeem
This commit is contained in:
parent
1488a60a60
commit
67e12b19cb
6 changed files with 235 additions and 93 deletions
15
migrations/030-cash-out-provision.js
Normal file
15
migrations/030-cash-out-provision.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
'alter table cash_out_txs add column provisioned_1 integer',
|
||||
'alter table cash_out_txs add column provisioned_2 integer',
|
||||
'alter table cash_out_txs add column denomination_1 integer',
|
||||
'alter table cash_out_txs add column denomination_2 integer'
|
||||
]
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue