This migration adds a new column to the 'cash_in_txs' table to accommodate the new paper wallet feature for compliance.
15 lines
246 B
JavaScript
15 lines
246 B
JavaScript
'use strict'
|
|
|
|
const db = require('./db')
|
|
|
|
exports.up = function (next) {
|
|
var sql = [
|
|
'ALTER TABLE cash_in_txs ADD COLUMN is_paper_wallet boolean null DEFAULT false',
|
|
]
|
|
|
|
db.multi(sql, next)
|
|
}
|
|
|
|
exports.down = function (next) {
|
|
next()
|
|
}
|