Explorar el Código

Update Notification model

Daniel Supernault hace 6 años
padre
commit
da68aa1c26
Se han modificado 1 ficheros con 2 adiciones y 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');