* Revert "Migration sql changes (#199)"
This reverts commit 12c834469c.
* Save migrate file on db
* Add message on migration error in lamassu-update
10 lines
208 B
JavaScript
10 lines
208 B
JavaScript
const db = require('./db')
|
|
|
|
exports.up = function (next) {
|
|
const sql = ['alter table logs add column serial integer not null default 0']
|
|
db.multi(sql, next)
|
|
}
|
|
|
|
exports.down = function (next) {
|
|
next()
|
|
}
|