Laravel Migration Error: Syntax error or access violation: 1071 Specified key was too long Hatası
Sorun Çözüldü!
![Laravel Migration Error: Syntax error or access violation: 1071 Specified key was too long Hatası](https://php.university/uploads/images/2021/10/image_750x_616801569492f.jpg)
Laravel config/database.php dosyasını açın aşağıdaki kodları bulun,
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
ve aşağıdakiler ile değiştrin.
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
artık migration yaparken hata almayacaksınız.