Merge pull request #1029 from josepfo/feat/twilio-api-data-ui
Feat: twilio api data UI
This commit is contained in:
commit
201fec33e4
11 changed files with 316 additions and 86 deletions
17
migrations/1641482376890-add-overrides-to-subscriber-info.js
Normal file
17
migrations/1641482376890-add-overrides-to-subscriber-info.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
`ALTER TABLE customers
|
||||
ADD COLUMN phone_override VERIFICATION_TYPE NOT NULL DEFAULT 'automatic',
|
||||
ADD COLUMN phone_override_by UUID,
|
||||
ADD COLUMN phone_override_at TIMESTAMPTZ
|
||||
`
|
||||
]
|
||||
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue