소스 검색

Update ModLog model, add fillable attribute

Daniel Supernault 5 년 전
부모
커밋
c7ccb26ffc
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/ModLog.php

+ 2 - 0
app/ModLog.php

@@ -8,6 +8,8 @@ class ModLog extends Model
 {
 	protected $visible = ['id'];
 
+	protected $fillable = ['*'];
+
 	public function admin()
 	{
 		return $this->belongsTo(User::class, 'user_id');