lamassu-server/packages/server/migrations/1595295132361-schema-version-on-user-config.js
2025-12-31 19:04:13 +01:00

13 lines
247 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.runAll(sql, next)
}
module.exports.down = function (next) {
next()
}