forked from mirror/pixelfed
Update Avatar model
This commit is contained in:
parent
cc8337888e
commit
8de42c7862
1 changed files with 5 additions and 0 deletions
|
@ -15,4 +15,9 @@ class Avatar extends Model
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $dates = ['deleted_at'];
|
protected $dates = ['deleted_at'];
|
||||||
|
|
||||||
|
public function profile()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Profile::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue