-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Uuid not working #1260
Comments
Did you do appropriate modifications (migrations and configuration) to actually make it working? Here are some ideas |
Yes i made. I found a solution by declaring |
I see. So your issue was not even related to this package, but to Laravel in general. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Illuminate\Database\QueryException : SQLSTATE[42883]: Undefined function: 7 ERROR: operator does not exist: uuid = integer
LINE 1: ...les"."role_id" where "model_has_roles"."model_id" in (7) and...
^
HINT: No operator matches the given name and argument types. You might need to add explicit type casts. (SQL: select "roles".*, "model_has_roles"."model_id" as "pivot_model_id", "model_has_roles"."role_id" as "pivot_role_id", "model_has_roles"."model_type" as "pivot_model_type" from "roles" inner join "model_has_roles" on "roles"."id" = "model_has_roles"."role_id" where "model_has_roles"."model_id" in (7) and "model_has_roles"."model_type" = App\Models\System\User)
The text was updated successfully, but these errors were encountered: