Skip to content

Commit

Permalink
⚡️ corrected the sync in db config setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ejim11 committed Jan 22, 2025
1 parent daae34e commit 743f056
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ const ENV = process.env.NODE_ENV;
return {
type: 'postgres',
autoLoadEntities: configService.get('database.autoLoadEntities'),
// synchronize: configService.get('database.synchronize'),
synchronize: false,
synchronize: configService.get('database.synchronize'),
port: +configService.get('database.port'),
username: configService.get('database.user'),
password: configService.get('database.password'),
Expand Down

0 comments on commit 743f056

Please sign in to comment.