Update Story model, use immutable datetime

This commit is contained in:
Daniel Supernault 2021-09-03 22:46:06 -06:00
parent 4c5b48810f
commit 588384543b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -22,7 +22,7 @@ class Story extends Model
public $incrementing = false;
protected $casts = [
'expires_at' => 'immutable_datetime'
'expires_at' => 'datetime'
];
protected $fillable = ['profile_id', 'view_count'];