'datetime:Y-m-d', 'due_date' => 'datetime:Y-m-d' ]; public function creator() { return $this->belongsTo(User::class, 'user_id'); } }