lamassu-server/packages/server/migrations/1641394367865-testing-customer-toggle.js
2025-12-31 19:04:13 +01:00

13 lines
234 B
JavaScript

var db = require('./db')
exports.up = function (next) {
var sql = [
`ALTER TABLE customers ADD COLUMN is_test_customer BOOLEAN NOT NULL DEFAULT false`,
]
db.runAll(sql, next)
}
exports.down = function (next) {
next()
}