-
-
Notifications
You must be signed in to change notification settings - Fork 571
Open
Labels
core teamGroomed but likely needs expert knowledgeGroomed but likely needs expert knowledge
Description
Summary
Clean up old data to validate against the item_requests_uniqueness_by_item_id Request validation.
Why?
So that if these records ever need to be modified they can be.
A user has an old request that they cannot discard because it fails the unique-item validation.
Details
For any Request with duplicate items, merge them together and sum the quantity. Put this into a database migration.
Other things to know/consider
- You'll have to fake this scenario in your dev database to test!
- Core team only so we can also validate against a production DB snapshot
Criteria for completion
- No Requests have duplicate items after the DB migration is run
Metadata
Metadata
Assignees
Labels
core teamGroomed but likely needs expert knowledgeGroomed but likely needs expert knowledge