server: address deprecated sequelize logger option
This commit is contained in:
parent
60b21a1d9d
commit
702dad14cb
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ export const sequelize = new Sequelize({
|
||||||
database: "drift",
|
database: "drift",
|
||||||
storage: config.memory_db ? ":memory:" : databasePath,
|
storage: config.memory_db ? ":memory:" : databasePath,
|
||||||
models: [__dirname + "/lib/models"],
|
models: [__dirname + "/lib/models"],
|
||||||
logging: true
|
logging: console.log
|
||||||
})
|
})
|
||||||
|
|
||||||
if (config.memory_db) {
|
if (config.memory_db) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue