feat: store id card raw data
This commit is contained in:
parent
2c211aadd8
commit
309d9ff95b
2 changed files with 28 additions and 1 deletions
13
migrations/1610716756175-id-card-raw.js
Normal file
13
migrations/1610716756175-id-card-raw.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
var db = require('./db')
|
||||
|
||||
exports.up = function (next) {
|
||||
var sql = [
|
||||
'ALTER TABLE customers ADD COLUMN id_card_data_raw text'
|
||||
]
|
||||
|
||||
db.multi(sql, next)
|
||||
}
|
||||
|
||||
exports.down = function (next) {
|
||||
next()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue