Skip to content

Instantly share code, notes, and snippets.

@samratshaw
Last active September 26, 2018 02:04
Show Gist options
  • Save samratshaw/117757b5f0c2b78cf306e1538ed2fedd to your computer and use it in GitHub Desktop.
Save samratshaw/117757b5f0c2b78cf306e1538ed2fedd to your computer and use it in GitHub Desktop.
Medium: Sequelize Typescript config
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