Simplify Avatar model - avatars belong only to User

Refactorkamo-shared-library
Shipped
November 23, 2025 at 7:29 PM UTC
Author
snadjafinia
Commit
959fdb5

- Removed member field from Avatar class - avatars now belong only to users - Removed OneToMany avatars from Member class - members don't own avatars - Members can select an avatar from the user's avatar collection via ManyToOne avatar - This simplifies the model: users manage their avatar collection, members pick from it - Removed MEMBER_ID index from AVATARS table

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing