mirror of https://github.com/pixelfed/pixelfed.git
Update Profile model, add collections relation
This commit is contained in:
parent
5623701642
commit
64926762f2
|
@ -291,4 +291,9 @@ class Profile extends Model
|
|||
{
|
||||
return $this->hasMany(HashtagFollow::class);
|
||||
}
|
||||
|
||||
public function collections()
|
||||
{
|
||||
return $this->hasMany(Collection::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue