Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration string length

//Add this code to your AppServiceProvider
use IlluminateDatabaseSchemaBuilder;


public function boot()
{
    Builder::defaultStringLength(191);
}
 
PREVIOUS NEXT
Tagged: #laravel #migration #string #length
ADD COMMENT
Topic
Name
5+4 =