lamassu-server/packages/server/migrations/1581455088977-add-amount-received.js
2025-12-31 19:04:13 +01:00

13 lines
243 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.runAll(sql, next)
}
exports.down = function (next) {
next()
}