mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update Story model, use immutable datetime
This commit is contained in:
parent
4c5b48810f
commit
588384543b
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Story extends Model
|
||||||
public $incrementing = false;
|
public $incrementing = false;
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'expires_at' => 'immutable_datetime'
|
'expires_at' => 'datetime'
|
||||||
];
|
];
|
||||||
|
|
||||||
protected $fillable = ['profile_id', 'view_count'];
|
protected $fillable = ['profile_id', 'view_count'];
|
||||||
|
|
Loading…
Reference in a new issue