lamassu-server/packages/server/migrations/1543182139555-tx-ticker-price.js
2025-12-31 19:04:13 +01:00

16 lines
347 B
JavaScript

'use strict'
const db = require('./db')
exports.up = function (next) {
var sql = [
'ALTER TABLE cash_in_txs ADD COLUMN raw_ticker_price numeric(14, 5) null DEFAULT null',
'ALTER TABLE cash_out_txs ADD COLUMN raw_ticker_price numeric(14, 5) null DEFAULT null',
]
db.runAll(sql, next)
}
exports.down = function (next) {
next()
}