https://laravel-news.com/laravel-5-4-key-too-long-error
app/Providers/AppServiceProvider.php( 노란부분 추가)
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Schema::defaultStringLength(191);
}
}
재실행 해보자
'라라벨 > 에러관련' 카테고리의 다른 글
라라벨8.0 tailwindcss 빌드업 에러 (0) | 2020.12.01 |
---|---|
gyp: No Xcode or CLT version detected! (0) | 2020.03.29 |
fopen(/var/www/html/pcb/public/uploads/images/_1583563453.jpg): failed to open stream: Permission denied (0) | 2020.03.07 |
419에러 (0) | 2019.05.05 |
이메일 검증 라라벨 403에러 403 invalid signature. (0) | 2019.05.05 |