lamassu-server/migrations/1700123461283-phone-on-tx.js
2023-11-28 17:36:29 +00:00

14 lines
254 B
JavaScript

const db = require('./db')
exports.up = function (next) {
let sql = [
'ALTER TABLE cash_in_txs ADD COLUMN email text',
'ALTER TABLE cash_out_txs ADD COLUMN email text',
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}