From 798a6b5bdd0bb1f8fa1d7d4bc0dd5eaafc9f4d03 Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Sat, 6 Dec 2025 17:06:29 +0100 Subject: [PATCH] log connection details --- database/src/AppDatabase.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/database/src/AppDatabase.ts b/database/src/AppDatabase.ts index 6e0fe7c08..9a8a3727d 100644 --- a/database/src/AppDatabase.ts +++ b/database/src/AppDatabase.ts @@ -113,6 +113,15 @@ export class AppDatabase { database: CONFIG.DB_DATABASE, port: CONFIG.DB_PORT, }) + console.log({ + host: CONFIG.DB_HOST, + user: CONFIG.DB_USER, + password: CONFIG.DB_PASSWORD, + database: CONFIG.DB_DATABASE, + port: CONFIG.DB_PORT + }) + const result = await this.drizzleConnection.execute('SELECT * from migrations order by version DESC limit 1') + console.log(result) this.drizzleDataSource = drizzle({ client: this.drizzleConnection }) } }