Skip to content

Instantly share code, notes, and snippets.

@ChechoCZ
Created March 4, 2020 18:02
Show Gist options
  • Save ChechoCZ/a08866ef4b8a7af8ff1a7e35b9970989 to your computer and use it in GitHub Desktop.
Save ChechoCZ/a08866ef4b8a7af8ff1a7e35b9970989 to your computer and use it in GitHub Desktop.
require('dotenv').config();
module.exports = {
dialect: 'postgres',
host: process.env.DB_HOST,
username: process.env.DB_USER,
password: process.env.DB_PASS,
database: process.env.DB_NAME,
define: {
timestamps: true,
underscored: true,
underscoredAll: true,
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment