This commit is contained in:
Josh Harvey 2017-03-16 07:50:41 +02:00
parent 340b39d47d
commit 36ac2f3ba5
3 changed files with 80 additions and 12 deletions

View file

@ -4,6 +4,10 @@ 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 bills rename currency_code to fiat_code',
'alter table bills rename denomination to fiat',
'alter table bills drop column to_address',
'alter table bills drop column device_id',
'alter table cash_out_txs rename currency_code to fiat_code'
]
db.multi(sql, next)