server: address deprecated sequelize logger option

This commit is contained in:
Max Leiter 2022-04-01 16:44:29 -07:00
parent 60b21a1d9d
commit 702dad14cb
No known key found for this signature in database
GPG key ID: A3512F2F2F17EBDA

View file

@ -8,7 +8,7 @@ export const sequelize = new Sequelize({
database: "drift",
storage: config.memory_db ? ":memory:" : databasePath,
models: [__dirname + "/lib/models"],
logging: true
logging: console.log
})
if (config.memory_db) {