In config folder database 'charset' => 'utf8mb4' and 'collation' => 'utf8mb4_unicode_ci' are like that when i am trying to php artisan migrate i get this error message
1 C:\wamp64\www\laravel-project-laracast\blog\vendor\laravel\framework\src\Illuminate\Database\Connection.php:492
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes")
2 C:\wamp64\www\laravel-project-laracast\blog\vendor\laravel\framework\src\Illuminate\Database\Connection.php:492 PDOStatement::execute()
After reading on this 2 links link1 (perfectionist1 answer) link2 I figured it out how to work it for the moment
The problem is that I have changed :
'charset' => 'utf8mb4' into 'charset' => 'utf8'
The problem is that utf8mb4 supports emoji and BMP while the utf8(utf8mb3) it does not support emoji and BMP
How do I make my database support utf8mb4 cause right now I get that error message when I use it