Deadpikle / Deadpikle/SimpleInventory

Clean up code by migrating ItemSoldInfo to Purchase model

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
16
Forks
15
PR merge metrics
No merged PRs in 30d

Description

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`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.