Skip to content

Commit

Permalink
fix(knex): Fix knex + sql server issues when using authentication gen…
Browse files Browse the repository at this point in the history
…erator (#257)
  • Loading branch information
Darren Schnare authored and daffl committed Aug 25, 2018
1 parent 6da7559 commit 8f8f75f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/generator-feathers/generators/connection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,10 @@ module.exports = class ConnectionGenerator extends Generator {

if (database === 'rethinkdb') {
template = 'rethinkdb.js';
} else if (database === 'mssql' && adapter === 'sequelize') {
template = `${adapter}-mssql.js`;
} else if (adapter && adapter !== 'nedb') {
template = database === 'mssql' ? `${adapter}-mssql.js` : `${adapter}.js`;
template = `${adapter}.js`;
}

if (template) {
Expand Down

0 comments on commit 8f8f75f

Please sign in to comment.