You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subscription model uses protected $dates = [] attribute to convert date strings to Carbon objects for 'created_at', 'ends_at', 'trial_ends_at', 'updated_at'.
Subscription model uses protected $dates = [] attribute to convert date strings to Carbon objects for 'created_at', 'ends_at', 'trial_ends_at', 'updated_at'.
This dates array was deprecated in Laravel 5.0
https://laravel.com/api/9.x/Illuminate/Database/Eloquent/Model.html
It's been replaced with casts, ex.
protected $casts = [
'trial_ends_at' => 'datetime'
];
The text was updated successfully, but these errors were encountered: