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 _repository_distributor_ table in postgres. 

 For each field in the repo_distributors repo_distributor document: 
 <pre> 
 repo_distributors     repo_distributor      =>    repository_distributor distributor 
 ____________________|____________________________ 
                     => id (generated) 
 distributor_id        => name 
 distributor_type_id => type 
 auto_publish          => auto_publish 
 last_publish          => last_published 
                     => last_updated (auto-now) 
 repo_id               => repository_id (by Foreign Key relation) 
 scratchpad            => scratchpad (by Scratchpad relation) 
 </pre>

Back