Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

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

In appProvidersAppServiceProvider.php File

// Add 
use IlluminateSupportFacadesSchema;

public function boot() {
	// Add In boot function 	
	Schema::defaultStringLength(191);
}
Source by laravel-news.com #
 
PREVIOUS NEXT
Tagged: #Specified #key #max #key #length #bytes
ADD COMMENT
Topic
Name
5+8 =