Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration remove nullable

composer require doctrine/dbal

$table->type('column')->nullable(false)->change();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #migration #remove #nullable
ADD COMMENT
Topic
Name
3+8 =