Explorar o código

Update Notification model

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