Skip to content

Commit

Permalink
Merge pull request #1 from agmcleod/fix/sequelize-cli
Browse files Browse the repository at this point in the history
Fix for example on sequelize-cli
  • Loading branch information
agmcleod authored Jan 8, 2020
2 parents 510622a + 4f82acf commit a4ae8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ In the root folder create a file called `sequelize.js`, and add the following co
```javascript
const sequelizeConfig = require('./src/config/sequelize.js')

const sequelizeConfigEnv = sequelizeConfig[process.env] || sequelizeConfig.DEFAULT
const sequelizeConfigEnv = sequelizeConfig[process.env.NODE_ENV] || sequelizeConfig.DEFAULT
module.exports = sequelizeConfigEnv.sequelize()
```

Expand Down

0 comments on commit a4ae8f6

Please sign in to comment.