Level 88
You can create an accessor for this field. This way you can do the format part just once and all the other dates stay the same.
//Model
public function getActivatedAtAttribute($value)
{
return $value->format('Y-m-d');
}
Documentation: https://laravel.com/docs/6.x/eloquent-mutators#accessors-and-mutators
Note: You will now get a string back instead of the Carbon object, so keep that in mind