Skip to content

Fix schema foreign ID support for tables with non-standard primary key #53442

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Nov 8, 2024

Conversation

willrowe
Copy link
Contributor

@willrowe willrowe commented Nov 7, 2024

This allows foreignIdFor to automatically set the referenced column name for tables/models with non-standard primary key names.

willrowe and others added 5 commits November 7, 2024 18:13

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@taylorotwell taylorotwell merged commit 71dfdc0 into laravel:11.x Nov 8, 2024
31 checks passed
@willrowe willrowe deleted the hotfix/constrained-primary-key branch November 8, 2024 14:23
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.

None yet

2 participants