Skip to content

Commit

Permalink
Add CRIC_DB_DATABASE environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaiacs committed Jul 10, 2020
1 parent 4d0cf23 commit 3187af2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/custom-environment-variables.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module.exports = {
authorization_seed: "CRIC_AUTHORIZATION_SEED",
database: {
host: "CRIC_DB_HOST",
database: "CRIC_DB_DATABASE",
username: "CRIC_DB_USERNAME",
password: "CRIC_DB_PASSWORD",
},
Expand Down
2 changes: 1 addition & 1 deletion config/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
host: process.env.CRIC_DB_HOST,
username: process.env.CRIC_DB_USERNAME,
password: process.env.CRIC_DB_PASSWORD,
database: "cric",
database: process.env.CRIC_DB_DATABASE,
dialect: "mysql",
timezone: "-03:00",
define: {
Expand Down

0 comments on commit 3187af2

Please sign in to comment.