1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update Profile model, add collections relation

This commit is contained in:
Daniel Supernault 2019-07-17 21:04:24 -06:00
parent 5623701642
commit 64926762f2
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -291,4 +291,9 @@ class Profile extends Model
{
return $this->hasMany(HashtagFollow::class);
}
public function collections()
{
return $this->hasMany(Collection::class);
}
}