Explorar el Código

Update AccountLog model, add fillable attribute

Daniel Supernault hace 4 años
padre
commit
1ac60173af
Se han modificado 1 ficheros con 3 adiciones y 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
 class AccountLog extends Model
 {
 {
+
+	protected $fillable = ['*'];
+	
     public function user()
     public function user()
     {
     {
     	return $this->belongsTo(User::class);
     	return $this->belongsTo(User::class);