Created
February 22, 2016 08:06
-
-
Save aldidas/a8c093f6db4ec5069b62 to your computer and use it in GitHub Desktop.
express.js app database configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Sequelize = require('sequelize'), | |
sequelize = new Sequelize('aes_db', null, null, { | |
host: 'localhost', | |
dialect: 'sqlite', | |
pool: { | |
max: 5, | |
min: 0, | |
idle: 10000 | |
}, | |
storage: './data.sqlite' | |
}); | |
exports.config = { | |
db: sequelize | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment