Skip to content

Commit

Permalink
db changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan-g committed Aug 16, 2024
1 parent 8c27fd6 commit 7297a7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function loadConfig() {
host: NODE_ENV === 'development' ? 'localhost' : process.env.DB_HOST,
username: process.env.DB_USER ?? 'postgres',
password: process.env.DB_PASS ?? 'postgres',
database: process.env.DB_NAME ?? 'say_dapp',
database: process.env.DB_NAME ?? 'postgres',
enabled: true,
synchronize: NODE_ENV === 'development' ? false : false, // true shouldn't be used in production - otherwise you can lose production data.
logging: true,
Expand Down

0 comments on commit 7297a7f

Please sign in to comment.