DDC-2980: SchemaTool should report what entities cause a duplicate table #3708

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

Originally created by @doctrinebot on GitHub (Feb 13, 2014).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user dbu:

after an afternoon of debugging in all directions, i found out that somebody had copied an entity without changing the table name annotation. i guess next time i see that kind of error, i will look into that possibility sooner, but still, it would be very helpful if the SchemaTool could in addition to "The table with name 'doctrine.fos_user' already exists." also explain which two entities asked for that table to be created.

Originally created by @doctrinebot on GitHub (Feb 13, 2014). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user dbu: after an afternoon of debugging in all directions, i found out that somebody had copied an entity without changing the table name annotation. i guess next time i see that kind of error, i will look into that possibility sooner, but still, it would be very helpful if the SchemaTool could in addition to "The table with name 'doctrine.fos_user' already exists." also explain which two entities asked for that table to be created.
admin added the Improvement label 2026-01-22 14:25:52 +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#3708