Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel enum migration example

$table->enum('animal_type',['cat','dog','unknown'])->default('unknown');
 
PREVIOUS NEXT
Tagged: #laravel #enum #migration
ADD COMMENT
Topic
Name
7+7 =