SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max ke
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
Also in PHP:
- ci db query error
- check if specific index of array exist php
- Remove WordPress Login error hints
- echo date('Y-m-d'); python
- echo date to page in php
- check if character exists in string php
- How to request and display data from db in larave
- cache clear in laravel
- cannot use object of type stdclass as array
- clear brower cache in laravel
- Exception in php import
- eliminate duplicate characters in array php
- Y-m-dTH:
- download laravel via composer
- Call to undefined function App\Models\str_slug()
- check if array has file in index
- array strpos php
- artisan call cache clear
- envoyer mail php depuis localhost
- - phpunit/phpunit 7.5.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.
- array key exists in php
- custom widget area wordpress
- check to see in string contains a specifc word php
- base64 decode