Browse Source

Show SQL query log on non-production

master
Menci 6 years ago
parent
commit
47c1601c99
  1. 2
      app.js

2
app.js

@ -167,7 +167,7 @@ global.syzoj = {
database: this.config.db.database, database: this.config.db.database,
entities: models, entities: models,
synchronize: true, synchronize: true,
logging: false, logging: !syzoj.production,
extra: { extra: {
connectionLimit: 50 connectionLimit: 50
} }

Loading…
Cancel
Save