max key length is 767 bytes
發表於 : 2017-12-18 11:35:20
https://laravel-news.com/laravel-5-4-key-too-long-error
app/Providers/AppServiceProvider.php
app/Providers/AppServiceProvider.php
代碼: 選擇全部
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}