Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

enum in laravel migration

$table->enum('gender',['Male','Female'])->default('Male');
 
PREVIOUS NEXT
Tagged: #enum #laravel #migration
ADD COMMENT
Topic
Name
6+6 =