Merge pull request #1029 from josepfo/feat/twilio-api-data-ui

Feat: twilio api data UI
This commit is contained in:
Rafael Taranto 2022-01-21 15:22:32 +00:00 committed by GitHub
commit 201fec33e4
11 changed files with 316 additions and 86 deletions

View 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()
}