浏览代码

Remove explicit `deleted_at` date cast

Shift 3 年之前
父节点
当前提交
0f498eca75
共有 1 个文件被更改,包括 1 次插入6 次删除
  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.