Syntax error or access violation: 1071 Specified key was too long
Laravel Migration Error:
I have just started learning Laravel 8 and got the following error after executing the command “php artisan migrate”. It is just a new project and no settings were changed. How do I fix this?
SQLSTATE: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table users add unique users_email_unique(email))
Using the PHP 7.3 and MySql 8 on Windows wampserver.
Ask New Question or
Viewing 3 replies - 1 through 3 (of 3 total)