Skip to content

Commit

Permalink
Fixed PostgresSQLDefaultSchemaSubscriber
Browse files Browse the repository at this point in the history
  • Loading branch information
jzaplet authored and f3l1x committed Apr 12, 2022
1 parent 20b846b commit 1f564e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Subscriber/FixPostgreSQLDefaultSchemaSubscriber.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function postGenerateSchema(GenerateSchemaEventArgs $args): void
$schemaManager = $args
->getEntityManager()
->getConnection()
->createSchemaManager();
->getSchemaManager();

if (!$schemaManager instanceof PostgreSQLSchemaManager) {
return;
Expand Down

0 comments on commit 1f564e4

Please sign in to comment.