Browse Source

Update Profile model, add collections relation

Daniel Supernault 6 years ago
parent
commit
64926762f2
1 changed files with 5 additions and 0 deletions
  1. 5 0
      app/Profile.php

+ 5 - 0
app/Profile.php

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