DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
set default value for column in laravel model
protected $attributes = [ 'your_field_name' => 'default value' ];
PREVIOUS
NEXT
Tagged:
#set
#default
#column
#laravel
#model
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit