diff --git a/migrations/1552064796155-tx-paper-wallet.js b/migrations/1552064796155-tx-paper-wallet.js new file mode 100644 index 00000000..24c12833 --- /dev/null +++ b/migrations/1552064796155-tx-paper-wallet.js @@ -0,0 +1,15 @@ +'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() +}