mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Profile model, add circles relation
This commit is contained in:
parent
ee4b7ba8b2
commit
dd42ad7558
1 changed files with 5 additions and 0 deletions
|
@ -274,4 +274,9 @@ class Profile extends Model
|
|||
->unique()
|
||||
->toArray();
|
||||
}
|
||||
|
||||
public function circles()
|
||||
{
|
||||
return $this->hasMany(Circle::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue