mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Join table name are wrong when a platform can emulate schemas #5101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @qpautrat on GitHub (Apr 15, 2016).
Originally assigned to: @lcobucci, @greg0ire on GitHub.
Hello everyone,
Considering this schema:
Create command
orm:schema-tool:drop --dump-sqlis giving me following sql statements:But when I want to drop my schema, many to many relation table is missing in sql statements:
orm:schema-tool:drop --dump-sqlThis is happening because
DefaultQuoteStrategy::getJoinTableName()does not care about platform which can emulate schema unlikegetTableName().@ptkoz commented on GitHub (Nov 23, 2019):
Any chance to get that solved? The PR is up for over 3 years now. Happy to help bringing it over the line.
@greg0ire commented on GitHub (Nov 24, 2019):
@pamelus I commented on the PR. If you see on activity, you can address my comments yourself.
@lcobucci commented on GitHub (Nov 25, 2019):
Can you check if this happens in 2.7.0? https://github.com/doctrine/orm/pull/7079 should have solved this.