feat: customer auth via email
This commit is contained in:
parent
92a3f16c80
commit
ab304093f3
22 changed files with 252 additions and 27 deletions
14
migrations/1700123461283-phone-on-tx.js
Normal file
14
migrations/1700123461283-phone-on-tx.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
let sql = [
|
||||
'ALTER TABLE cash_in_txs ADD COLUMN email text',
|
||||
'ALTER TABLE cash_out_txs ADD COLUMN email text',
|
||||
]
|
||||
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue