Skip to content

Move away from "isdeleted" "isprivate" and "ispublished" to a unified state field #140

Description

@glanham-jr

isdeleted, isprivate, and ispublished are all mutually exclusive states. If we represent this as a single enum type field in the DB, it would drastically simplify most of our DB operations and queries on games. It would let us share code much more easily.

We could even move "pending deletion" to this state field, and have a "lastStateChange" db field and check if 14 days have passed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

refactorChange has no impact on current end result, only structural changes

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions