Browse Source

Remove explicit `deleted_at` date cast

Shift 3 năm trước cách đây
mục cha
commit
0f498eca75
1 tập tin đã thay đổi với 1 bổ sung6 xóa
  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',
         '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.
      * Scope a query to only include pinned items.