laravel model column default value 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,
];
}