Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel migration set default value

$table->string('name')->default('Hello World!');
 
PREVIOUS NEXT
Tagged: #laravel #migration #set #default
ADD COMMENT
Topic
Name
7+2 =