From 564cbd4f699479d6913c7a7c8f4e6ba00d2d4d39 Mon Sep 17 00:00:00 2001 From: Eithan Hernandez Date: Mon, 7 Apr 2025 19:40:37 -0600 Subject: [PATCH] Actualizar 'src/app.module.ts' synchronize: false, dropSchema: false, --- src/app.module.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index 8b95158..74bcba6 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -40,8 +40,10 @@ import { AlumnosModule } from './alumnos/alumnos.module'; database: process.env.db_database, password: process.env.db_password, port: Number(process.env.db_port), - synchronize: true, - dropSchema: true, // elimina la base de datos + + + synchronize: false, + dropSchema: false, // elimina la base de datos // logging: true, // Habilita los logs para depuración autoLoadEntities: true, // Carga automáticamente las entidades