Project

Profile

Help

Refactor #2140

Updated by jortel@redhat.com over 7 years ago

The data in the _repo_distributors_ collection needs to be migrated into the _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          => (moved to config.mapping['auto_publish']) auto_publish 
 last_publish          => last_publish 
                     => last_updated (NULL) 
 repo_id               => repository_id (by Foreign Key relation) 
 config                => config (by Config relation) 
 scratchpad            => scratchpad (by Scratchpad relation) 
 </pre>

Back