Я заполняю свою базу данных с помощью laravel, но получаю эту ошибку. Чтобы удалить его, мне нужно прокомментировать мутаторную часть модели.
public function setBirthdayAttribute($value)
{
$this->attributes['birthday'] = Carbon::createFromFormat('d-m-Y',$value)->format('Y-m-d');
}
public function setFirstHireAttribute($value)
{
$this->attributes['first_hire'] = Carbon::createFromFormat('d-m-Y',$value)->format('Y-m-d');
}
Как я могу это исправить? я схожу с ума
Спасибо
Валерио
$table->date('first_hire');
- person netnull   schedule 07.02.2021