Task #7150
Updated by ttereshc over 4 years ago
Since DistributionTree is tied to a Repository, we need to create a new DistributionTree for each.
In order to achieve that, introduce a new field `repositoty_id` and have it as a unique index.
Also fix the Addon and Variant models to point to RpmRepository rather than the master model.
Migration is needed, during which a new DistributionTree will be created in case it belongs to multiple repos.