Skip to content

Commit

Permalink
Fix the factory definition
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Aug 6, 2020
1 parent b3163ac commit a68b6a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
<service id="SyliusLabs\DoctrineMigrationsExtraBundle\Factory\ContainerAwareVersionFactory">
<argument type="service">
<service class="Doctrine\Migrations\Version\DbalMigrationFactory">
<argument type="service" id="doctrine.dbal.connection" />
<argument type="service">
<service class="Doctrine\DBAL\Connection">
<factory service="doctrine.orm.entity_manager" method="getConnection" />
</service>
</argument>
<argument type="service" id="logger" />
</service>
</argument>
Expand Down

0 comments on commit a68b6a7

Please sign in to comment.