Skip to content

Instantly share code, notes, and snippets.

@caioagiani
Created June 29, 2020 16:04
Show Gist options
  • Save caioagiani/68731483242bcdf5051e295461800415 to your computer and use it in GitHub Desktop.
Save caioagiani/68731483242bcdf5051e295461800415 to your computer and use it in GitHub Desktop.
const { resolve } = require('path');
require('dotenv').config();
module.exports = {
config: resolve(__dirname, 'src', 'config', 'database.js'),
'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