DDC-3333: doctrine:schema:update --complete does not detect old index #4120

Open
opened 2026-01-22 14:35:31 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 2, 2014).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user greg0ire:

When changing the name of an index and using the symfony proxy command doctrine:schema:update --complete --dump-sql, the output only shows a CREATE statement. I would expect to also see a DROP statement. Here is what my index definition looks like :

    indexes:
        admin*entity_created_at*index:
            columns: [ createdAt ]
Originally created by @doctrinebot on GitHub (Oct 2, 2014). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user greg0ire: When changing the name of an index and using the symfony proxy command `doctrine:schema:update --complete --dump-sql`, the output only shows a `CREATE` statement. I would expect to also see a `DROP` statement. Here is what my index definition looks like : ``` indexes: admin*entity_created_at*index: columns: [ createdAt ] ```
admin added the Bug label 2026-01-22 14:35:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4120