Skip to content

Instantly share code, notes, and snippets.

@willshepp28
Last active November 29, 2020 22:39
Show Gist options
  • Save willshepp28/93ba86583cd53df8a22785ce1069ad8c to your computer and use it in GitHub Desktop.
Save willshepp28/93ba86583cd53df8a22785ce1069ad8c to your computer and use it in GitHub Desktop.
How seqeulize knows how to connect to our database
{
"development": {
"username": "YOUR-USERNAME",
"password": "YOUR-PASSWORD",
"database": "League-Spx",
"host": "127.0.0.1",
"dialect": "postgres"
},
"test": {
"username": "YOUR-USERNAME",
"password": "YOUR-PASSWORD",
"database": "League-Spx-Test",
"host": "127.0.0.1",
"dialect": "postgres"
},
"production": {
"use_env_variable": "DATABASE_URL",
"database": "League-Spx",
"dialect": "postgres",
"dialectOptions": {
"ssl": {
"rejectUnauthorized": false
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment