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

View file

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