Pārlūkot izejas kodu

Update AccountLog model, add fillable attribute

Daniel Supernault 4 gadi atpakaļ
vecāks
revīzija
1ac60173af
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      app/AccountLog.php

+ 3 - 0
app/AccountLog.php

@@ -6,6 +6,9 @@ use Illuminate\Database\Eloquent\Model;
 
 class AccountLog extends Model
 {
+
+	protected $fillable = ['*'];
+	
     public function user()
     {
     	return $this->belongsTo(User::class);