Browse Source

Remove explicit `deleted_at` date cast

Shift 3 years ago
parent
commit
0f498eca75
1 changed files with 1 additions and 6 deletions
  1. 1 6
      app/Item.php

+ 1 - 6
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.