This commit is contained in:
Josh Harvey 2017-03-15 22:54:40 +02:00
parent b4d8f3cd4c
commit 340b39d47d
9 changed files with 189 additions and 72 deletions

View file

@ -3,7 +3,8 @@ var db = require('./db')
exports.up = function (next) {
var sql = [
'alter table cash_in_txs add column send boolean not null default false',
'alter table cash_in_txs rename currency_code to fiat_code'
'alter table cash_in_txs rename currency_code to fiat_code',
'alter table cash_out_txs rename currency_code to fiat_code'
]
db.multi(sql, next)
}