SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
Also in PHP:
- check key exists in associative array in php
- create seede for table in laravel
- error out of length in php
- execute composer with php version
- encryption key has not encrypted laravel
- Uncaught RedisException: Redis server went away in
- ext dom php
- composite unique between two columns laravel migration
- create laravel project version 5.8
- display time php
- Y-m-d H:
- day in php time
- array to string separated by comma php
- Undefined variable: subcopy laravel mail
- adjacent post sort order by post title
- check session in blade laravel
- codeigniter get num_rows
- check key in array php
- codeigniter get lst inserted id
- composer global laravel
- Cache::forget laravel command
- enable all errors php
- count letters in php
- codeigniter get insert iditer print last query