lamassu-server/packages/server/migrations/1604934042127-clean-bills.js
2025-05-12 10:52:54 +01:00

15 lines
312 B
JavaScript

const db = require('./db')
exports.up = function (next) {
var sql = [
'ALTER TABLE bills DROP COLUMN crypto_atoms',
'ALTER TABLE bills DROP COLUMN cash_in_fee_crypto',
'ALTER TABLE bills DROP COLUMN crypto_atoms_after_fee'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}