Project

Profile

Help

Refactor #2183

closed

Refactor #2116: Migrate mongo collections to postgres tables.

Migrate repo_groups collection to the repository_group table.

Added by jortel@redhat.com over 8 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The data in the repo_groups collection needs to be migrated into the repository_group table in postgres.

For each field in the repo_groups document:

repos               =>  repository
____________________|____________________________
                    => id (generated)
display_name        => name
description         => description
repo_ids            => members (by ForeignKey to Repository)
notes               => notes (by Notes relation)
scratchpad          => scratchpad (by Scratchpad relation)

Related issues

Copied from Migration Plugin - Refactor #2139: Migrate repositories collection to the repository table.CLOSED - DUPLICATE

Actions

Also available in: Atom PDF