From 2ccd1f8e53ed228d18f6301eeb835c9d547d0371 Mon Sep 17 00:00:00 2001 From: xXpuma99Xx <51341582+xXpuma99Xx@users.noreply.github.com> Date: Mon, 18 Apr 2022 12:34:28 -0500 Subject: [PATCH] puerto mariadb --- src/app.module.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app.module.ts b/src/app.module.ts index 403a540..963cc19 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -57,10 +57,11 @@ import { Usuario } from './usuario/entity/usuario.entity'; useFactory: (config: ConfigService) => { return { type: 'mariadb', - host: config.get('HOST_DB'), + host: config.get('DB_HOST'), database: config.get('DB'), - username: config.get('USER_DB'), - password: config.get('PASSWORD_DB'), + username: config.get('DB_USER'), + password: config.get('DB_PASSWORD'), + port: config.get('DB_PORT'), synchronize: true, entities: [ Carrera,