force autoJsonMap to true

This commit is contained in:
lesion
2022-08-02 12:28:20 +02:00
parent fcd16a84c1
commit cc25df703a

View File

@@ -18,8 +18,8 @@ const db = {
}
},
connect (dbConf = config.db) {
log.debug(`Connecting to DB: ${JSON.stringify(dbConf)}`)
dbConf.dialectOptions = { autoJsonMap: true }
log.debug(`Connecting to DB: ${JSON.stringify(dbConf)}`)
if (dbConf.dialect === 'sqlite') {
dbConf.retry = {
match: [