Answers for "1071 laravel error"

PHP
13

laravel migation error

use Illuminate\Support\Facades\Schema;

public function boot()
{
    Schema::defaultStringLength(191);
}
Posted by: Guest on April-29-2020
0

Solution for error 1071 on Laravel

- Open = app/Providers/AppServiceProvider.php
- add = use Illuminate\Support\Facades\Schema;
- add in method boot() = Schema::defaultStringLength(191);
Posted by: Guest on October-24-2021

Code answers related to "1071 laravel error"

Browse Popular Code Answers by Language