diff --git a/src/config/typeorm.config.ts b/src/config/typeorm.config.ts index b63b270..a9c936b 100644 --- a/src/config/typeorm.config.ts +++ b/src/config/typeorm.config.ts @@ -9,7 +9,7 @@ export const generateTypeOrmConfig: GenerateTypeOrmConfig = (env) => ({ username: env.DATABASE_USERNAME, password: env.DATABASE_PASSWORD, database: env.DATABASE_NAME, - synchronize: false, + synchronize: true, logging: process.env.NODE_ENV !== 'prod' && process.env.NODE_ENV !== 'test', entities: [__dirname + '/../**/*.entity{.ts,.js}'], migrations: ['dist/migrations/*{.ts,.js}'], // migration 수행할 파일