Skip to content

Commit

Permalink
v1.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v2a committed Apr 18, 2019
2 parents b83134f + edc6fa0 commit 8865ff7
Show file tree
Hide file tree
Showing 3 changed files with 216 additions and 118 deletions.
3 changes: 1 addition & 2 deletions lib/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ var setAssociation = function setAssociation(modelDef, modelName) {
console.debug('associate ' + modelName);
}
};

if (app.config('database')) {
if (app.config('database.connections')) {
if (app.config('database.connections.options.logging')) {
app.config().set('database.connections.options.logging', console.debug);
console.log('query debug');
Expand Down
Loading

0 comments on commit 8865ff7

Please sign in to comment.