Project

Profile

Help

Refactor #2139

Updated by jortel@redhat.com over 8 years ago

The data in the _repositories_ collection needs to be migrated into the _repository_ table in postgres. 

 For each field in the repository consumer document: 
 <pre> 
 repositories          =>    repository 
 ____________________|____________________________ 
 id                    => id (generated) 
 repo_id               => name 
 notes.type            => type 
 display_name          => (omitted: redundant with name or description and don't think anyone is using this) 
 description           => description 
 notes                 => notes (by Notes relation) 
 scratchpad            => scratchpad (by Scratchpad relation) 
 content_unit_counts => (omitted: calculated by content_summary()) 
 last_unit_added       => last_content_added 
 last_unit_removed     => last_content_removed 
 _ns                   => (omitted) 
 </pre>

Back