mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-21 23:32:39 +00:00
Update UserFilter model, add user relation
This commit is contained in:
parent
ae1db1e3ab
commit
0455dd1996
1 changed files with 5 additions and 0 deletions
|
@ -33,4 +33,9 @@ class UserFilter extends Model
|
|||
{
|
||||
return $this->belongsTo(Instance::class, 'filterable_id');
|
||||
}
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(Profile::class, 'user_id');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue