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
1 changed files with 5 additions and 0 deletions

View File

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