mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
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
|
||||
*/
|
||||
protected $dates = ['deleted_at'];
|
||||
|
||||
public function profile()
|
||||
{
|
||||
return $this->belongsTo(Profile::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue