Laravel: Specified key was too long; max key length is 767 bytes
Older MySQL and MariaDB versions trigger this Laravel issue. Here is how to fix it.
Tags: laravel, mariadb, mysql, debugging