Skip to content

Commit

Permalink
Fix #1271 - compatibility of doctrine:query:sql with DBAL 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrolucky committed Dec 21, 2020
1 parent b5474dc commit acefecc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Resources/config/dbal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@
</service>

<service id="doctrine.query_sql_command" class="Doctrine\Bundle\DoctrineBundle\Command\Proxy\RunSqlDoctrineCommand">
<argument type="service" id="Doctrine\Bundle\DoctrineBundle\Dbal\ManagerRegistryAwareConnectionProvider" on-invalid="null" />

<tag name="console.command" command="doctrine:query:sql" />
</service>

Expand Down

0 comments on commit acefecc

Please sign in to comment.