diff --git a/app/Avatar.php b/app/Avatar.php index b7251076..76ca442b 100644 --- a/app/Avatar.php +++ b/app/Avatar.php @@ -15,4 +15,9 @@ class Avatar extends Model * @var array */ protected $dates = ['deleted_at']; + + public function profile() + { + return $this->belongsTo(Profile::class); + } }