v12.0.0 - initial commit
This commit is contained in:
commit
e2c49ea43c
1145 changed files with 97211 additions and 0 deletions
11
packages/server/migrations/1601649726488-user-suspend.js
Normal file
11
packages/server/migrations/1601649726488-user-suspend.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
const db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = ['ALTER TABLE customers ADD COLUMN suspended_until timestamptz']
|
||||
|
||||
db.runAll(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue