Skip to content
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

1062 Duplicate entry '6-46-App\\Models\\User' for key 'model_has_roles.PRIMARY' #202

Open
kortby opened this issue Jun 5, 2024 · 0 comments

Comments

@kortby
Copy link

kortby commented Jun 5, 2024

Hi there
Vyuldashev\NovaPermission\RoleSelect::::make('Role', 'roles') is not working correctly on create but it works on update

the error is the following:

Integrity constraint violation: 1062 Duplicate entry '6-46-App\\Models\\User' for key 'model_has_roles.PRIMARY'

what could be the issue?

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

No branches or pull requests

1 participant