devaslanphp / project-management

An open source Project management tool based on Laravel and Filament
https://devaslanphp.github.io/project-management
MIT License
721 stars 200 forks source link

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

Closed denistorresan closed 1 year ago

denistorresan commented 1 year ago

If you want to replicate: 1) Login as admin 3) Delete a user 4) 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

heloufir commented 1 year ago

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

heloufir commented 1 year ago

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.

heloufir commented 1 year ago

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.