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
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
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) {