From 95edb038fb88e196efc254fbdcecf6a0f27efb98 Mon Sep 17 00:00:00 2001 From: Yassine R Date: Thu, 14 Sep 2023 14:26:58 +0200 Subject: [PATCH] fix: delete console.log --- .../1603812391580-pr-env-create-database.ts | 15 --------------- .../src/config/domifaConfigFileLoader.service.ts | 1 - .../_postgres/PG_CONNECT_OPTIONS.const.ts | 1 - 3 files changed, 17 deletions(-) diff --git a/packages/backend/src/_migrations/_init-db/1603812391580-pr-env-create-database.ts b/packages/backend/src/_migrations/_init-db/1603812391580-pr-env-create-database.ts index 4a94fa72f3..8d554f8dc6 100644 --- a/packages/backend/src/_migrations/_init-db/1603812391580-pr-env-create-database.ts +++ b/packages/backend/src/_migrations/_init-db/1603812391580-pr-env-create-database.ts @@ -126,21 +126,6 @@ async function createTables(queryRunner: QueryRunner) { CONSTRAINT "PK_6bffd9b803b67cd4e099fc795e1" PRIMARY KEY (uuid) ); - - -- public.migrations definition - - -- Drop table - - -- DROP TABLE public.migrations; - - CREATE UNLOGGED TABLE public.migrations ( - id serial4 NOT NULL, - "timestamp" int8 NOT NULL, - "name" varchar NOT NULL, - CONSTRAINT "PK_8c82d7f526340ab734260ea46be" PRIMARY KEY (id) - ); - - -- public.monitor_batch_process definition -- Drop table diff --git a/packages/backend/src/config/domifaConfigFileLoader.service.ts b/packages/backend/src/config/domifaConfigFileLoader.service.ts index 2dae991d34..26c0151576 100644 --- a/packages/backend/src/config/domifaConfigFileLoader.service.ts +++ b/packages/backend/src/config/domifaConfigFileLoader.service.ts @@ -10,7 +10,6 @@ export const domifaConfigFileLoader = { function loadEnvFile(envFileName: string): Partial { const envFilePath = join(__dirname, "../../", envFileName); - console.log(envFilePath); // On laisse l'usage sync, car ce fichir n'est loadé qu'une fois if (!existsSync(envFilePath)) { // eslint:disable-next-line: no-console diff --git a/packages/backend/src/database/services/_postgres/PG_CONNECT_OPTIONS.const.ts b/packages/backend/src/database/services/_postgres/PG_CONNECT_OPTIONS.const.ts index d54af18155..07ef251d60 100644 --- a/packages/backend/src/database/services/_postgres/PG_CONNECT_OPTIONS.const.ts +++ b/packages/backend/src/database/services/_postgres/PG_CONNECT_OPTIONS.const.ts @@ -50,4 +50,3 @@ export const PG_CONNECT_OPTIONS: PostgresConnectionOptions = { ...connectOptionsPaths, maxQueryExecutionTime: 1000, }; -console.log(PG_CONNECT_OPTIONS);