lamassu-server/migrations/1716974904249-ciphertrace-error-code.js
2024-05-29 10:33:03 +01:00

13 lines
249 B
JavaScript

const db = require('./db')
exports.up = function (next) {
let sql = [
`UPDATE cash_out_txs SET error_code = 'walletScoringError' WHERE error_code = 'ciphertraceError'`
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}