feat: add testing customer toggle
This commit is contained in:
parent
abcce7ff06
commit
556d8433fa
14 changed files with 191 additions and 92 deletions
13
migrations/1641394367865-testing-customer-toggle.js
Normal file
13
migrations/1641394367865-testing-customer-toggle.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
`ALTER TABLE customers ADD COLUMN is_test_customer BOOLEAN DEFAULT false`,
|
||||
]
|
||||
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue