Refactor #2140
Updated by jortel@redhat.com over 8 years ago
The data in the _repo_distributors_ collection needs to be migrated into the _repository_distributor_ _distributor_ table in postgres. For each field in the repo_distributor document: <pre> repo_distributor => distributor ____________________|____________________________ => id (generated) distributor_id => name distributor_type_id => type auto_publish => auto_publish (moved to config.mapping['auto_publish']) last_publish => last_published last_publish => last_updated (auto-now) (NULL) repo_id => repository_id (by Foreign Key relation) config => config (by Config relation) scratchpad => scratchpad (by Scratchpad relation) </pre>