Explorar o código

Update AccountLog model, add fillable attribute

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