mirror of https://github.com/pixelfed/pixelfed.git
Update Profile model, add circles relation
This commit is contained in:
parent
ee4b7ba8b2
commit
dd42ad7558
|
@ -274,4 +274,9 @@ class Profile extends Model
|
|||
->unique()
|
||||
->toArray();
|
||||
}
|
||||
|
||||
public function circles()
|
||||
{
|
||||
return $this->hasMany(Circle::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue