Syntax error or access violation: 1071 Specified key was too long; max key length is 3072 bytes laravel string length 1000
use Illuminate\Support\Facades\Schema;
public function boot()
{
Schema::defaultStringLength(191);
}
Also in PHP:
- date.now() php
- can we execute core php project code in laravel
- array_key_exists() WORDPRESS
- capitalize all letters php
- eloquent remove updated_at
- display date format in php
- date() php getting out
- error showing in php
- api header php
- current date format in php
- char position in string php
- file form validation codeigniter
- - phpunit/phpunit[8.5.0, ..., 8.5.x-dev] require ext-dom * ->
- database seeding laravel
- create project laravel
- find specific word in string php
- PHP Numbers
- advance custon feilds
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes windows
- apache2 loadmodule php windows
- 'https://', 'www.' & all sub derictories reomve from a url with regex
- exception handling class php
- 0 == "string" php
- date and tome php