coreui-free-laravel-admin-template
coreui-free-laravel-admin-template copied to clipboard
ERROR While Migrating
Migrating: 2014_10_12_000000_create_users_table
Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter tableusersadd uniqueusers_email_unique(email))
This looks like a problem with the database itself, not with our project. I suggest you change the database engine and check if the problem still exists. By the way, which database is causing the problem?
Check this thread: https://github.com/laravel/framework/issues/17508
The solutions there are either editing app/Providers/AppServiceProvider.php or config/database.php
Both solutions got me past that issue to the next issue...