Jelajahi Sumber

Update Activity model, add fillable attribute

Daniel Supernault 5 tahun lalu
induk
melakukan
ef575ed483
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      app/Activity.php

+ 1 - 0
app/Activity.php

@@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
 class Activity extends Model
 {
     protected $dates = ['processed_at'];
+    protected $fillable = ['*'];
 
 	public function toProfile()
 	{