feat: add cash-out fixed fee columns to DB
This commit is contained in:
parent
09df11e7a9
commit
c5e7818836
2 changed files with 14 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
||||||
|
const db = require('./db')
|
||||||
|
|
||||||
|
exports.up = next => db.multi([
|
||||||
|
'ALTER TABLE cash_out_txs ADD COLUMN fixed_fee numeric(14, 5) NOT NULL DEFAULT 0;'
|
||||||
|
], next)
|
||||||
|
|
||||||
|
exports.down = next => next()
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
const { saveConfig } = require('../lib/new-settings-loader')
|
||||||
|
|
||||||
|
exports.up = next => saveConfig({ 'commissions_cashOutFixedFee': 0 })
|
||||||
|
.then(next)
|
||||||
|
.catch(next)
|
||||||
|
|
||||||
|
exports.down = next => next()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue