I'm trying to install laravel voyager but getting this error.
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table
users
add uniqueusers_email_unique
(
This is my \app\Providers\AppServiceProvider.php
public function boot()
{
Schema::defaultStringLength(191);
}
This is my config\database.php
'charset' => 'utf8',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
'prefix_indexes' => true,
'strict' => true,
'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
AND MY DB HAS COLATION utf8mb4_unicode_ci