Przeglądaj źródła

Update Notification model

Daniel Supernault 6 lat temu
rodzic
commit
da68aa1c26
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      app/Notification.php

+ 2 - 0
app/Notification.php

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