Browse Source

Update Notification model

Daniel Supernault 6 years ago
parent
commit
da68aa1c26
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Notification.php

+ 2 - 0
app/Notification.php

@@ -16,6 +16,8 @@ class Notification extends Model
      */
      */
     protected $dates = ['deleted_at'];
     protected $dates = ['deleted_at'];
 
 
+    protected $fillable = ['*'];
+
     public function actor()
     public function actor()
     {
     {
         return $this->belongsTo(Profile::class, 'actor_id', 'id');
         return $this->belongsTo(Profile::class, 'actor_id', 'id');