-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
App breaking on L 5.7.16 with hasManyThrough? #26768
Comments
Related to this PR? #26676 Ping @staudenmeir |
One used query was this: $model = Model::where('key', $key)->with('parentModels')->first(); Here is the SQL Exception that I got:
|
Can you provide an example with "real" models? Is |
It is not a subclass, both are Eloquent model classes |
Please provide an example with real models and their migrations. Or at least the migrations for your example. |
Ping @apocalyarts. We need more information please. |
@apocalyarts feel free to reply once you can provide more info. |
I was wondering if the fixes for
hasManyThrough
that have been introduced in 5.7.16 are a breaking change? In one of my apps I had this relation:needed to change it like this to make my app work with 5.7.16:
The text was updated successfully, but these errors were encountered: