Created
July 12, 2019 20:09
-
-
Save giovanniantonaccio/db457601c2892306459f4be1d15b6f97 to your computer and use it in GitHub Desktop.
How to configure sequelize folders
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
const { resolve } = require('path'); | |
module.exports = { | |
'config': resolve(__dirname, 'src', 'config', 'database.js'), | |
'models-path': resolve(__dirname, 'src', 'app', 'models'), | |
'migrations-path': resolve(__dirname, 'src', 'database', 'migrations'), | |
'seeders-path': resolve(__dirname, 'src', 'database', 'seeds'), | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment