Skip to content

Instantly share code, notes, and snippets.

@MMortari
Created December 4, 2019 00:50
Show Gist options
  • Save MMortari/e3e93074c8436884c33e4e67fccf38c1 to your computer and use it in GitHub Desktop.
Save MMortari/e3e93074c8436884c33e4e67fccf38c1 to your computer and use it in GitHub Desktop.
Sequelize File
const path = require('path');
module.exports = {
config: path.resolve(__dirname, 'src', 'config', 'database.js'),
'models-path': path.resolve(__dirname, 'src', 'app', 'models'),
'migrations-path': path.resolve(__dirname, 'src', 'database', 'migrations'),
'seeders-path': path.resolve(__dirname, 'src', 'database', 'seeds'),
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment