forked from mirror/pixelfed
Update UserFilter model, add user relation
This commit is contained in:
parent
ae1db1e3ab
commit
0455dd1996
|
@ -33,4 +33,9 @@ class UserFilter extends Model
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Instance::class, 'filterable_id');
|
return $this->belongsTo(Instance::class, 'filterable_id');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function user()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Profile::class, 'user_id');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue