fix: Disable ensure database checks when establishing DB connection (#12734)
This commit is contained in:
1 parent
aa1cadcb29
commit
3ca02749c4
1 file changed
+3
@@ -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