Remove explicit deleted_at date cast

This commit is contained in:
Shift 2022-03-19 13:54:34 +00:00
parent 3dac9828c8
commit 0f498eca75
No known key found for this signature in database
GPG key ID: 5A96F038425C5A1C

View file

@ -33,12 +33,7 @@ class Item extends Model
'title', 'url', 'colour', 'icon', 'appdescription', 'description', 'pinned', 'order', 'type', 'class', 'user_id', 'appid',
];
/**
* The attributes that should be mutated to dates.
*
* @var array
*/
protected $dates = ['deleted_at'];
/**
* Scope a query to only include pinned items.