set default value model laravel code example
Example: laravel model column default value
class User extends Model {
protected $attributes = [
'is_author' => 0,
];
}
class User extends Model {
protected $attributes = [
'is_author' => 0,
];
}