Skip to content

Commit

Permalink
!HOTFIX: synchronize true로 설정 - #124
Browse files Browse the repository at this point in the history
  • Loading branch information
Dh3356 committed Oct 13, 2023
1 parent e1ce952 commit c300258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/typeorm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const generateTypeOrmConfig: GenerateTypeOrmConfig = (env) => ({
username: env.DATABASE_USERNAME,
password: env.DATABASE_PASSWORD,
database: env.DATABASE_NAME,
synchronize: true,
synchronize: false,
logging: process.env.NODE_ENV !== 'prod' && process.env.NODE_ENV !== 'test',
entities: [__dirname + '/../**/*.entity{.ts,.js}'],
migrations: ['dist/migrations/*{.ts,.js}'], // migration 수행할 파일
Expand Down

0 comments on commit c300258

Please sign in to comment.