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

Integrity constraint violation when try to create a user that already exists (email) #30

Closed
denistorresan opened this issue Jan 11, 2023 · 3 comments · Fixed by #35
Closed
Assignees
Labels
bug Something isn't working

Comments

@denistorresan
Copy link

If you want to replicate:

  1. Login as admin
  2. Delete a user
  3. Try create a new user with the same email (of the deleted user) and got an error SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry

https://flareapp.io/share/LPdlKDbP#F71

@denistorresan denistorresan removed their assignment Jan 11, 2023
@heloufir heloufir added the bug Something isn't working label Jan 11, 2023
@heloufir heloufir self-assigned this Jan 11, 2023
@heloufir
Copy link
Contributor

Ow sorry for that, I reproduced the issue, I will make sure to resolve this ASAP and let you know.

@heloufir heloufir linked a pull request Jan 12, 2023 that will close this issue
@heloufir
Copy link
Contributor

Hello @denistorresan
Just added a PR resolving this issue, please make a pull in your local project, execute migrations php artisan migrate and then retry.

You can reopen this issue if needed.

1 similar comment
@heloufir
Copy link
Contributor

Hello @denistorresan
Just added a PR resolving this issue, please make a pull in your local project, execute migrations php artisan migrate and then retry.

You can reopen this issue if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants