jojuniori
3/28/2017 - 3:32 PM

Laravel 5.4: SQLSTATE[42000] Specified key was too long error.md https://laravel-news.com/laravel-5-4-key-too-long-error

Laravel 5.4: SQLSTATE[42000] Specified key was too long error.md
https://laravel-news.com/laravel-5-4-key-too-long-error

AppServiceProvider.php

use Illuminate\Support\Facades\Schema;

public function boot() { Schema::defaultStringLength(191); }