Explorar o código

Update Like model

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
3b7127ba32
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()
     {