mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update Profile model, add collections relation
This commit is contained in:
parent
5623701642
commit
64926762f2
1 changed files with 5 additions and 0 deletions
|
@ -291,4 +291,9 @@ class Profile extends Model
|
|||
{
|
||||
return $this->hasMany(HashtagFollow::class);
|
||||
}
|
||||
|
||||
public function collections()
|
||||
{
|
||||
return $this->hasMany(Collection::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue