1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

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

View file

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