Skip to content

Commit

Permalink
Update config extend to allow custom logger
Browse files Browse the repository at this point in the history
  • Loading branch information
Rui Marinho committed Jun 2, 2014
1 parent c6ca93d commit 569dec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ var getSequelizeInstance = function() {
}
})

options = _.extend(options, { logging: logMigrator })
options = _.extend({ logging: logMigrator }, options)
return new Sequelize(config.database, config.username, config.password, options)
}

Expand Down

0 comments on commit 569dec6

Please sign in to comment.