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
Updated by bizhang about 8 years ago
- Related to Refactor #2088: create django models for lazy catalog and deferred downloads added
Updated by jortel@redhat.com about 8 years ago
Looks really good. Probably don't need the => since you used the spiffy table formatting.
Updated by ttereshc over 4 years ago
- Project changed from Pulp to Migration Plugin
- Status changed from NEW to CLOSED - DUPLICATE
Done as a part of the initial migration plugin release.
Actions