Update ModLog model, add fillable attribute

This commit is contained in:
Daniel Supernault 2020-04-26 02:06:48 -06:00
parent 542ad12bc3
commit c7ccb26ffc
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 0 deletions

View File

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