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

SQLSTATE[42000]: Syntax error or access violation: #80

Open
cscsenior opened this issue Oct 19, 2021 · 2 comments
Open

SQLSTATE[42000]: Syntax error or access violation: #80

cscsenior opened this issue Oct 19, 2021 · 2 comments

Comments

@cscsenior
Copy link

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))

PHP 7.4

@nielsdrost7
Copy link

Check this very nice google search result for that exact error: https://laravel-news.com/laravel-5-4-key-too-long-error

@cscsenior
Copy link
Author

tks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants