Update Profile model, add circles relation

This commit is contained in:
Daniel Supernault 2019-02-09 22:42:04 -07:00
parent ee4b7ba8b2
commit dd42ad7558
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -274,4 +274,9 @@ class Profile extends Model
->unique()
->toArray();
}
public function circles()
{
return $this->hasMany(Circle::class);
}
}