feat: add UserAvatar model and user relationship

This commit is contained in:
2026-08-22 07:59:17 +03:30
parent ccdb811d2d
commit d493c3bdcc
2 changed files with 54 additions and 0 deletions
+4
View File
@@ -112,4 +112,8 @@ class User extends Authenticate
{
return $this->hasMany(Favorite::class);
}
public function avatar()
{
return $this->hasOne(UserAvatar::class);
}
}