Open cscsenior opened 2 years ago
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))
users
users_email_unique
email
PHP 7.4
Check this very nice google search result for that exact error: https://laravel-news.com/laravel-5-4-key-too-long-error
tks
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table
users
add uniqueusers_email_unique
(email
))PHP 7.4