Skip to content

Move post votes to be inside their parent object #954

@ghost

Description

Having a "ForumVotes" collection may be an unnecessary amount of populations when trying to pull threads/replies/comments.

Instead, we can have a "votes" list within those post objects as { playerId: [1|-1] }, removing it if the user unvotes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions