Refactor #2116: Migrate mongo collections to postgres tables.
Migrate lazy_content_catalog to the downloadcatalog table.
|=> id (generated)|
|importer_id||=> importer (Foreign Key to Importer)|
|=> artifact (Foreign Key to Artifact )|
|path||=> (omitted, stored in artifact)|
|unit_id||=> (omitted, stored in artifact as content)|
|checksum||=> (omitted, stored in artifact)|
|unit_type_id||=> (omitted )|
 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
 unit_type_id can be found via the content Foreign Key in the artifact
Please register to edit this issue