Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

1071 Specified key was too long; max key length is 1000 bytes

// /app/Providers/AppserviceProvider.php

use IlluminateSupportFacadesSchema;

public function boot()
{
	Schema::defaultStringLength(191);
}
 
PREVIOUS NEXT
Tagged: #Specified #key #max #key #length #bytes
ADD COMMENT
Topic
Name
1+9 =