diff --git a/src/Subscriber/FixPostgreSQLDefaultSchemaSubscriber.php b/src/Subscriber/FixPostgreSQLDefaultSchemaSubscriber.php index be28633..e6517d4 100644 --- a/src/Subscriber/FixPostgreSQLDefaultSchemaSubscriber.php +++ b/src/Subscriber/FixPostgreSQLDefaultSchemaSubscriber.php @@ -23,7 +23,7 @@ public function postGenerateSchema(GenerateSchemaEventArgs $args): void $schemaManager = $args ->getEntityManager() ->getConnection() - ->createSchemaManager(); + ->getSchemaManager(); if (!$schemaManager instanceof PostgreSQLSchemaManager) { return;