Closed cmgmyr closed 1 year ago
This PR updates the model's $dates = [] to use $casts = []. This also drops the reference for the deleted_at field, which is redundant from using the SoftDeletes trait.
$dates = []
$casts = []
deleted_at
SoftDeletes
Anyone still using this package on Laravel versions 5.8, or under, will have to:
5.8
$dates = [...]
Fixes #393
This PR updates the model's
$dates = []
to use$casts = []
. This also drops the reference for thedeleted_at
field, which is redundant from using theSoftDeletes
trait.Anyone still using this package on Laravel versions
5.8
, or under, will have to:$dates = [...]
propertyFixes #393