From 743f056ac58c214fde3cb5878a75ee8c595ab945 Mon Sep 17 00:00:00 2001 From: ejim11 Date: Wed, 22 Jan 2025 17:08:44 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20corrected=20the=20sync=20i?= =?UTF-8?q?n=20db=20config=20setting?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.module.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index 6035f7a..d6db428 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -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'),