Skip to content

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

Open
@kortby

Description

@kortby

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions