Actions
Refactor #2320
closedPulp - Refactor #2116: Migrate mongo collections to postgres tables.
Migrate lazy_content_catalog to the downloadcatalog table.
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
lazy_content_catalog | => downloadcatalog |
---|---|
=> id (generated) | |
importer_id | => importer (Foreign Key to Importer) |
url | => url |
=> artifact (Foreign Key to Artifact [0]) | |
path | => (omitted, stored in artifact) |
unit_id | => (omitted, stored in artifact as content) |
checksum | => (omitted, stored in artifact) |
unit_type_id | => (omitted [1]) |
checksum_algorithm | => (omitted) |
revision | => (omitted) |
data | => (omitted) |
[0] The Artifact Foreign Key can computed from the path and the unit_id in the lazy_content_catalog. unit_id maps to a content (Foreign Key to Content. downloadcatalog is has a unique constraint on its content and relative_path
[1] unit_type_id can be found via the content Foreign Key in the artifact
Related issues
Actions