Skip to content

Use cakephp/database for foreignKey reflection#851

Merged
markstory merged 4 commits into
4.nextfrom
sqlite-fk
Apr 27, 2025
Merged

Use cakephp/database for foreignKey reflection#851
markstory merged 4 commits into
4.nextfrom
sqlite-fk

Conversation

@markstory
Copy link
Copy Markdown
Member

Move foreignkey reflection methods to use cakephp/database to reflect columns removing more schema munging logic from migrations.

I've also removed support for multiple foreign keys being defined for
the same column set, but with different key names. This behavior can't
be supported by cakephp/database schema reflection as we have to grep
through table SQL and can't disambiguate between two indexes with the
same columns.
@markstory markstory added this to the 4.x (CakePHP 5) milestone Apr 26, 2025
@markstory markstory merged commit 9cabda5 into 4.next Apr 27, 2025
12 of 13 checks passed
@markstory markstory deleted the sqlite-fk branch April 27, 2025 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant