Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Syntax error or access violation: 1071 La clé est trop longue. Longueur maximale: 1000"

//Add in app/Providers/AppServiceProvider.php :

use IlluminateSupportFacadesSchema;

public function boot()
{
    Schema::defaultStringLength(191);
}
Source by www.patrickjunod.dev #
 
PREVIOUS NEXT
Tagged: #Syntax #error #access #La #est #trop #Longueur
ADD COMMENT
Topic
Name
3+1 =