Syntax error or access violation: 1071 Specified key was too long; max key leng - Pesquisa Google

PHOTO EMBED

Thu Nov 18 2021 02:27:34 GMT+0000 (UTC)

Saved by @nilreis #php #laravel

Update your /app/Providers/AppServiceProvider.php to contain:

use Illuminate\Support\Facades\Schema;

/**
 * Bootstrap any application services.
 *
 * @return void
 */
public function boot()
{
    Schema::defaultStringLength(191);
}
content_copyCOPY

https://www.google.com/search?q