소스 검색

Update AccountLog model, add fillable attribute

Daniel Supernault 4 년 전
부모
커밋
1ac60173af
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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);