Add transaction versioning, tx cancellation

This commit is contained in:
Josh Harvey 2017-08-27 20:41:54 +03:00
parent 4a97535dec
commit 13933c3fb2
15 changed files with 2223 additions and 1468 deletions

View file

@ -0,0 +1,14 @@
var db = require('./db')
exports.up = function (next) {
const sql = [
'alter table cash_in_txs drop column device_time',
'alter table cash_out_txs drop column device_time'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}