Skip to content

Clean up code by migrating ItemSoldInfo to Purchase model #9

@Deadpikle

Description

@Deadpikle

Right now, the old ItemSoldInfo model (1 item was bought at the store) is used along with the new Purchase/PurchasedItem models (one purchase can have one or more items), and they are stored separately in the DB. This is redundant sale storage mechanisms. Everything should use the Purchase/PurchasedItem methodology, so use a database migration to move things over, and then get rid of all uses of ItemSoldInfo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions