Unique validation rule

Posted 3 years ago by francois

Hello,

I have a request with this rule on L5.1.10 : 'email' => 'required|unique:users,email

But, I can see this in logs : SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '******' for key 'users_email_unique'

How is it possible ? How can I fix this, because I can't reproduce this behavior ?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.