Skip to content

Commit

Permalink
Add changes required for heroku and changed migrations to work with h…
Browse files Browse the repository at this point in the history
…eroku postgres database
  • Loading branch information
simhonchourasia committed Jul 16, 2023
1 parent 6f06edf commit 6594398
Show file tree
Hide file tree
Showing 11 changed files with 1,011 additions and 177 deletions.
30 changes: 30 additions & 0 deletions backend/typescript/config/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"development": {
"username": "rcdmiwfaelrydj",
"password": "619ba5c8e3e50dfc5a7bed5fbfa472045d6dc3f800e09e7a009a74e78be25d13",
"database": "dd5lsdq6q23dfh",
"host": "ec2-34-233-242-44.compute-1.amazonaws.com",
"dialect": "postgres",
"dialectOptions": {
"ssl": {
"ca": "path/to/ca.crt",
"require": true,
"rejectUnauthorized": false
}
}
},
"test": {
"username": "root",
"password": null,
"database": "database_test",
"host": "127.0.0.1",
"dialect": "mysql"
},
"production": {
"username": "root",
"password": null,
"database": "database_production",
"host": "127.0.0.1",
"dialect": "mysql"
}
}
Loading

0 comments on commit 6594398

Please sign in to comment.