Actions
Task #7195
closedEnforce correct uniqueness for UpdateCollection at the Model level
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 79
Quarter:
Description
UpdateCollection needs to
a) be many-to-one FK linked to UpdateRecord, rather than ManyToMany, and b) be (name, update-record-id) unique
See https://pulp.plan.io/issues/6815#note-7 for details - this should be done as its own unit of work, rather than obscured by an issue that needs it to exist.
Related issues
Actions
Make UpdateCollection be unique by (name,update_record).
Migrate existing data and make UpdateCollection be 1to1 to UpdateRecord along the way.
fixes #7195 [nocoverage]