From 8fe2b6cc72b190bd1e48be64c2edacb0df13bfd9 Mon Sep 17 00:00:00 2001 From: miguel Date: Fri, 20 Jun 2025 10:39:29 -0600 Subject: [PATCH] Disable schema synchronization and dropping for database configurations --- src/db/typeorm.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/db/typeorm.config.ts b/src/db/typeorm.config.ts index ba41ad2..8748b60 100644 --- a/src/db/typeorm.config.ts +++ b/src/db/typeorm.config.ts @@ -54,8 +54,8 @@ export const createMainDbConfig = async ( retryDelay: 3000, connectTimeout: 30000, - synchronize: true, - dropSchema: true, + synchronize: false, + dropSchema: false, }); export const createAlumnosDbConfig = async ( @@ -73,6 +73,6 @@ export const createAlumnosDbConfig = async ( retryDelay: 3000, connectTimeout: 30000, - synchronize: true, + synchronize: false, dropSchema: false, });