From 7bda0ab5d4ae7f72045cd5119eeb46a2fae8f9cb Mon Sep 17 00:00:00 2001 From: ilham Date: Fri, 6 Jan 2023 13:23:52 +0700 Subject: [PATCH] fix: turn off sync --- src/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.module.ts b/src/app.module.ts index a6673bb..f77dc54 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -45,7 +45,7 @@ import { MulterModule } from '@nestjs/platform-express'; password: configService.get('database.password'), database: configService.get('database.name'), entities: [], - synchronize: true, + synchronize: false, autoLoadEntities: true, logging: true, namingStrategy: new SnakeNamingStrategy(),