From 0f498eca75b86e371b712c7cfea3040e3b0adbdd Mon Sep 17 00:00:00 2001 From: Shift Date: Sat, 19 Mar 2022 13:54:34 +0000 Subject: [PATCH] Remove explicit `deleted_at` date cast --- app/Item.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Item.php b/app/Item.php index 505ddf04..ab54c75c 100644 --- a/app/Item.php +++ b/app/Item.php @@ -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.