fix: Disable ensure database checks when establishing DB connection (#12734)
This commit is contained in:
@@ -107,6 +107,9 @@ export async function mikroOrmCreateConnection(
|
||||
false
|
||||
),
|
||||
},
|
||||
// We don't want to do any DB checks when establishing the connection. This happens once when creating the pg_connection, and it can happen again explicitly if necessary.
|
||||
connect: false,
|
||||
ensureDatabase: false,
|
||||
schemaGenerator: {
|
||||
disableForeignKeys: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user