SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "users_pkey" DETAIL: Key (id)=(1) already exists. #34345
Unanswered
Ali-Shaikh
asked this question in
General
Replies: 1 comment
-
Converted to discussion as this is a support question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "users_pkey" DETAIL: Key (id)=(1) already exists.
I have a seeder that creates three users but when I tried to register from the frontend I got this error. Shouldn't the ID be auto-generated by the DB?
Steps To Reproduce:
Beta Was this translation helpful? Give feedback.
All reactions