13 lines
245 B
JavaScript
13 lines
245 B
JavaScript
const db = require('./db')
|
|
|
|
module.exports.up = function (next) {
|
|
var sql = [
|
|
'alter table user_config add column schema_version smallint not null DEFAULT 1'
|
|
]
|
|
|
|
db.multi(sql, next)
|
|
}
|
|
|
|
module.exports.down = function (next) {
|
|
next()
|
|
}
|