Update Avatar model

This commit is contained in:
Daniel Supernault 2019-02-12 00:38:29 -07:00
parent cc8337888e
commit 8de42c7862
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 5 additions and 0 deletions

View File

@ -15,4 +15,9 @@ class Avatar extends Model
* @var array
*/
protected $dates = ['deleted_at'];
public function profile()
{
return $this->belongsTo(Profile::class);
}
}