forked from mirror/pixelfed
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()
|
->unique()
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function circles()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Circle::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue