Stellen Sie den Standardwert für die Spalte im Laravel -Modell fest
protected $attributes = [
'your_field_name' => 'default value'
];
Fahim Foysal
protected $attributes = [
'your_field_name' => 'default value'
];
class User extends Model {
protected $attributes = [
'is_author' => 0,
];
}