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);
}
}