Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
judlup committed Jun 2, 2024
1 parent e22959d commit b17884e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/modules/typeorm/db.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import { EnvironmentConfigModule } from '../environment-config/environment-confi
password: environmentConfigService.DATABASE_PASSWORD,
database: environmentConfigService.DATABASE_NAME,
autoLoadEntities: true,
synchronize:
environmentConfigService.NODE_ENV ===
('dev' satisfies EnvironmentConfig['NODE_ENV']),
synchronize: true,
// environmentConfigService.NODE_ENV ===
// ('dev' satisfies EnvironmentConfig['NODE_ENV']),
} as TypeOrmModuleOptions;
},
}),
Expand Down

0 comments on commit b17884e

Please sign in to comment.