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

View File

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