浏览代码

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');