mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
missing update in clear
This commit is contained in:
parent
cc491b010d
commit
8611187a0a
@ -27,7 +27,10 @@ export async function truncateTables(connection: Connection) {
|
||||
}
|
||||
|
||||
export async function clearDatabase() {
|
||||
const connection = await connectToDatabaseServer()
|
||||
const connection = await connectToDatabaseServer(
|
||||
CONFIG.DB_CONNECT_RETRY_COUNT,
|
||||
CONFIG.DB_CONNECT_RETRY_DELAY_MS,
|
||||
)
|
||||
if (!connection) {
|
||||
throw new Error('Could not connect to database server')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user