mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +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);
|
return $this->hasMany(HashtagFollow::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function collections()
|
||||||
|
{
|
||||||
|
return $this->hasMany(Collection::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue