본문 바로가기
Framework/Laravel Framework

[Laravel] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes ERROR 발생 시

by 원동호 2019. 4. 5.
반응형

https://laravel-news.com/laravel-5-4-key-too-long-error

 

Laravel 5.4: Specified key was too long error

Laravel 5.4 made a change to the default database character set, and it’s now utf8mb4 which includes support for storing emojis. This only affects new applications and as long as you are running MySQL v5.7.7 and higher you do not need to do anything. For t

laravel-news.com

참고!!

반응형

댓글