From 64926762f2b99fcbde444b3a3a5b931e8d426099 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 17 Jul 2019 21:04:24 -0600 Subject: [PATCH] Update Profile model, add collections relation --- app/Profile.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Profile.php b/app/Profile.php index d84d708a5..70ba38ed7 100644 --- a/app/Profile.php +++ b/app/Profile.php @@ -291,4 +291,9 @@ class Profile extends Model { return $this->hasMany(HashtagFollow::class); } + + public function collections() + { + return $this->hasMany(Collection::class); + } }