Syntax error or access violation: 1071 Specified key was t oo long; max key length is 1000 bytes
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
Also in PHP:
- artisan seed laravel
- PHP Warning: PHP Startup: Unable to load dynamic library 'apc.so'
- check php version linux terminal
- data type php varchar
- date now in php
- day of week count in php
- eloquent update row response
- delete cache file laravel
- PHP Stream Functions
- cacert.pem file_get_contents openssl
- check if substring in php
- app clear cache in laravel
- clear route cache laravel
- $user = User::find($request->userid);
- check string appear in string php
- C# http post request with file
- Which are valid PHP error handling keywords? try throw catch finally
- How to get the current time in PHP
- chekck type of php
- ddev laravel setup
- array has key php
- check if contains a var php
- creade seeder in laravel
- date php day of wekk