mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
log connection details
This commit is contained in:
parent
159d63b620
commit
798a6b5bdd
@ -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 })
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user