Skip to content

Instantly share code, notes, and snippets.

@chukwuemekachm
Created January 28, 2019 22:55
Show Gist options
  • Select an option

  • Save chukwuemekachm/07229e179bc0e37562a0459453460b90 to your computer and use it in GitHub Desktop.

Select an option

Save chukwuemekachm/07229e179bc0e37562a0459453460b90 to your computer and use it in GitHub Desktop.
This is the file needed by the sequelize-cli to bootstrap a sequelize project.
const path = require('path');
module.exports = {
'config': path.resolve('server', 'config', 'database.js'),
'models-path': path.resolve('server', 'sequelize', 'models'),
'seeders-path': path.resolve('server', 'sequelize', 'seeders'),
'migrations-path': path.resolve('server', 'sequelize', 'migrations')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment