Skip to content

Instantly share code, notes, and snippets.

@ChechoCZ
Created March 2, 2020 20:36
Show Gist options
  • Save ChechoCZ/a7e77957dc95a54a7f8a50dbcbf361be to your computer and use it in GitHub Desktop.
Save ChechoCZ/a7e77957dc95a54a7f8a50dbcbf361be to your computer and use it in GitHub Desktop.
const { resolve } = require('path');
module.exports = {
config: resolve(__dirname, 'src', 'config', 'database.js'),
'models-path': resolve(__dirname, 'src', 'database', 'models'),
'migrations-path': resolve(__dirname, 'src', 'database', 'migrations'),
'seeders-path': resolve(__dirname, 'src', 'database', 'seeders'),
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment