浏览代码

Update Like model

Daniel Supernault 6 年之前
父节点
当前提交
3b7127ba32
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/Like.php

+ 1 - 0
app/Like.php

@@ -15,6 +15,7 @@ class Like extends Model
      * @var array
      */
     protected $dates = ['deleted_at'];
+    protected $fillable = ['profile_id', 'status_id'];
 
     public function actor()
     {