Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how change default value for enum colun in laravel

$table->enum('status',['new', 'active', 'disabled'])->default('active');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #default #enum #colun #laravel
ADD COMMENT
Topic
Name
1+2 =