_common.js 429 B

12345678910111213141516
  1. const config = require('../config');
  2. config.sequelize = {
  3. // See http://docs.sequelizejs.com/class/lib/sequelize.js~Sequelize.html#instance-constructor-constructor
  4. dialect: 'sqlite',
  5. database: 'project',
  6. username: null,
  7. password: null,
  8. host: null,
  9. port: null,
  10. storage: ':memory:',
  11. operatorsAliases: false,
  12. logging: false
  13. }
  14. config.server.port = 51391
  15. const database = require('../lib/database')
  16. database.init()