lamassu-server/migrations/1581455088977-add-amount-received.js
2020-03-23 19:10:58 +01:00

13 lines
241 B
JavaScript

const db = require('./db')
exports.up = function (next) {
var sql = [
'ALTER TABLE cash_out_txs ADD COLUMN received_crypto_atoms numeric(30) null DEFAULT null'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}