model make defult data 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,
];
}