You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.
SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous (SQL: select 'languages'.*, 'language_translations'.'name' from 'languages' left join 'language_translations' on 'languages'.'id' = 'language_translations'.'language_id' and 'locale' = nl where ('id' = 1 and 'parent_id' = 0) limit 1)
If there is no easy fix for this, is there an other way to use updateOrCreate?
Update: even simple things like Language::whereId(1)->get(); cause the same issue
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
cause the following error:
SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'id' in where clause is ambiguous (SQL: select 'languages'.*, 'language_translations'.'name' from 'languages' left join 'language_translations' on 'languages'.'id' = 'language_translations'.'language_id' and 'locale' = nl where ('id' = 1 and 'parent_id' = 0) limit 1)
If there is no easy fix for this, is there an other way to use
updateOrCreate
?Update: even simple things like
Language::whereId(1)->get();
cause the same issueThe text was updated successfully, but these errors were encountered: