lamassu-server/migrations/022-add_cash_in_sent.js
Josh Harvey 30071151ff WIPP
2017-03-06 14:22:33 +02:00

13 lines
286 B
JavaScript

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'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}