force autoJsonMap to true
This commit is contained in:
@@ -18,8 +18,8 @@ const db = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
connect (dbConf = config.db) {
|
connect (dbConf = config.db) {
|
||||||
log.debug(`Connecting to DB: ${JSON.stringify(dbConf)}`)
|
|
||||||
dbConf.dialectOptions = { autoJsonMap: true }
|
dbConf.dialectOptions = { autoJsonMap: true }
|
||||||
|
log.debug(`Connecting to DB: ${JSON.stringify(dbConf)}`)
|
||||||
if (dbConf.dialect === 'sqlite') {
|
if (dbConf.dialect === 'sqlite') {
|
||||||
dbConf.retry = {
|
dbConf.retry = {
|
||||||
match: [
|
match: [
|
||||||
|
|||||||
Reference in New Issue
Block a user