Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
Also in PHP:
- create a php live chat without no load
- array_key_exists contains string
- Word Not Found!strpos(): needle is not a string or an integer on line 6
- cacert file_get_contents openssl
- Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:cer
- euclid algorithm
- console log with php on form sent
- disable admin bar wordpress
- cronjob cakephp
- array search not exists
- Best code editors for php
- convert dd/mm/yyyy to yyyy-mm-dd in mysql php
- crete new project in laravel
- @if(Auth::user()->id(1))
- binary base64 decode php
- creating a laravel project with composer
- add validation for webp image in laravel
- curl_multi_exec
- Route [login] not defined.Route [login] not defined.
- SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
- check key exists in associative array in php
- Dynamic title on every page laravel blade
- artisan migrate single class
- date("Y/m/d h:i:s") php