Mengatasi Laravel Migration Error: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
Pertama jalankan :
php artisan db:wipe
ubah data pada connection MYSQL lokasi file di /config/database.php
dan ubah data charset dan collation seperti dibawah
'charset' => 'utf8',
'collation' => 'utf8_general_ci',
dan save lalu jalankan perintah :
php artisan migrate
It’s Done! Migration Tables will be created successfully.