[PR #7937] Revert SchemaTool change to check for foreign key support #10726

Closed
opened 2026-01-22 16:08:29 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7937

State: closed
Merged: Yes


3707c39124 fixed the symptom that SqlitePlatform#supportsForeignKeyConstraints() returns false, even though we now have emulation in plcae that allows us to set this to true.

This fixes regression #7930 introduced in 2.6.5 by #7841 and #7842

Explanation why fix is wrong: https://github.com/doctrine/orm/pull/7842#issuecomment-560088102

Related PR on DBAL that fixes SQLite Foreign Key Handling: https://github.com/doctrine/dbal/pull/3762

**Original Pull Request:** https://github.com/doctrine/orm/pull/7937 **State:** closed **Merged:** Yes --- 3707c3912428423347473a9f20c86a7d858380c4 fixed the symptom that `SqlitePlatform#supportsForeignKeyConstraints()` returns false, even though we now have emulation in plcae that allows us to set this to true. This fixes regression #7930 introduced in 2.6.5 by #7841 and #7842 Explanation why fix is wrong: https://github.com/doctrine/orm/pull/7842#issuecomment-560088102 Related PR on DBAL that fixes SQLite Foreign Key Handling: https://github.com/doctrine/dbal/pull/3762
admin added the pull-request label 2026-01-22 16:08:29 +01:00
admin closed this issue 2026-01-22 16:08:30 +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#10726