Last active
September 26, 2018 02:04
-
-
Save samratshaw/117757b5f0c2b78cf306e1538ed2fedd to your computer and use it in GitHub Desktop.
Medium: Sequelize Typescript config
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 path = require('path'); | |
module.exports = { | |
config: path.resolve('src', 'db', 'config.js'), | |
'models-path': path.resolve('src', 'db', 'models'), | |
'seeders-path': path.resolve('src', 'db', 'seeders'), | |
'migrations-path': path.resolve('build-migrations', 'db', 'migrations'), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment