Merge remote-tracking branch 'upstream/defiant-dingirma' into fix/flat-schema
This commit is contained in:
commit
db32ad4f16
29 changed files with 2454 additions and 3157 deletions
13
migrations/1581455088977-add-amount-received.js
Normal file
13
migrations/1581455088977-add-amount-received.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
const db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
'ALTER TABLE cash_out_txs ADD COLUMN received_crypto_atoms numeric(30) null DEFAULT null'
|
||||
]
|
||||
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue