Browse Source

Update AccountLog model, add fillable attribute

Daniel Supernault 4 năm trước cách đây
mục cha
commit
1ac60173af
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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);