Update UserFilter model, add user relation

This commit is contained in:
Daniel Supernault 2023-12-20 23:55:26 -07:00
parent ae1db1e3ab
commit 0455dd1996
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -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');
}
}