autoJsonMap is the default (but not in bonn :P)

This commit is contained in:
lesion 2022-07-29 21:29:08 +02:00
parent 13a8f43044
commit 892b994122
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

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