Search
 
SCRIPT & CODE EXAMPLE
 

PHP

laravel specified key was too long

use IlluminateSupportFacadesSchema;
public function boot()
{
    Schema::defaultStringLength(191);
}
Comment

laravel mysql specified key was too long

#Inside config/database.php, replace this line for mysql
//find
'engine' => null', 
//replace with
'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
Comment

PREVIOUS NEXT
Code Example
Php :: php artisan tinker encription cmd 
Php :: add-basic-controller-imports 
Php :: h:i:s explode in php by ":" 
Php :: composer create project 
Php :: laravel get all old input 
Php :: for each multiple php 
Php :: Laravel - Query Builder Left join 
Php :: storepublicly laravel 
Php :: phpunit test private function 
Php :: laravel middleware in constructor 
Php :: cara membuat looping table dengan php 
Php :: get value mentthod get laravel 
Php :: php sort() 
Php :: author page url from the current post 
Php :: print in file php 
Php :: php How to add custom button in wordpress admin section 
Php :: mysql extension php enable 
Php :: php undefined index meaNING 
Php :: wordpress autoload composer 
Php :: php array differ 
Php :: laravel with and where 
Php :: laravel vue browser cache auto clear 
Php :: livewire call function from other component 
Php :: ci4 throw new exception 
Php :: withsuccess laravel 8 
Php :: generate fake name php 
Php :: laravel collection partition 
Php :: php check if user exists in database 
Php :: get elasticsearch data magento 2 
Php :: how to create resource controller in laravel 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =