Question : laravel migation error
Answered by : handsome-hawk-ca4g4lhp3n0u
use Illuminate\Support\Facades\Schema;
public function boot()
{ Schema::defaultStringLength(191);
}
Source : https://laravel-news.com/laravel-5-4-key-too-long-error | Last Update : Wed, 06 May 20