Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

enum table in laravel

$table->enum('priority', ['normal', 'medium', 'high'])->default('normal');
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #enum #table #laravel
ADD COMMENT
Topic
Name
8+3 =