mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update ModLog model, add fillable attribute
This commit is contained in:
parent
542ad12bc3
commit
c7ccb26ffc
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ class ModLog extends Model
|
|||
{
|
||||
protected $visible = ['id'];
|
||||
|
||||
protected $fillable = ['*'];
|
||||
|
||||
public function admin()
|
||||
{
|
||||
return $this->belongsTo(User::class, 'user_id');
|
||||
|
|
Loading…
Reference in a new issue