Skip to content

Commit

Permalink
Merge pull request #864 from e-moe/fix/861-move-doctrine-query-sql-in…
Browse files Browse the repository at this point in the history
…to-dbal-xml

Move doctrine:query:sql command to dbal.xml
  • Loading branch information
stof committed Oct 16, 2018
2 parents 8f6c3fc + 30a7a8f commit 3219f3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Resources/config/dbal.xml
Expand Up @@ -87,5 +87,9 @@
<tag name="console.command" command="doctrine:mapping:import" />
</service>

<service id="doctrine.query_sql_command" class="Doctrine\Bundle\DoctrineBundle\Command\Proxy\RunSqlDoctrineCommand">
<tag name="console.command" command="doctrine:query:sql" />
</service>

</services>
</container>
4 changes: 0 additions & 4 deletions Resources/config/orm.xml
Expand Up @@ -192,10 +192,6 @@
<tag name="console.command" command="doctrine:query:dql" />
</service>

<service id="doctrine.query_sql_command" class="Doctrine\Bundle\DoctrineBundle\Command\Proxy\RunSqlDoctrineCommand">
<tag name="console.command" command="doctrine:query:sql" />
</service>

<service id="doctrine.schema_update_command" class="Doctrine\Bundle\DoctrineBundle\Command\Proxy\UpdateSchemaDoctrineCommand">
<tag name="console.command" command="doctrine:schema:update" />
</service>
Expand Down

0 comments on commit 3219f3f

Please sign in to comment.