MySQL

Laravel 5.4: Specified key was too long error
Laravel 5.4 / January 25, 2017

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 those running MariaDB or older versions of MySQL you may … Continue reading Laravel 5.4: Specified key was too... Read more…

Export from MySQL Workbench to a Laravel Migration
Development Tools / November 18, 2016

Export from MySQL Workbench to a Laravel Migration

MySQL Workbench is a cross-platform GPL app that allows you to fully design and document your databases through the app. Brandon Eckenrode, created a plugin that allows you to export a MySQL Workbench model to Laravel 5 migrations that follow PSR-2 coding standards. When exported, each migration is generated and saved in its own, properly … Continue reading Read more…