-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add store additional package-index fields
Closes #8232 https://pulp.plan.io/issues/8232
- Loading branch information
Showing
4 changed files
with
50 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add custom_fields to hold non-standard PackageIndex fields |
24 changes: 24 additions & 0 deletions
24
pulp_deb/app/migrations/0015_add_custom_fields_to_packages.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Generated by Django 2.2.20 on 2021-06-07 14:53 | ||
|
||
import django.contrib.postgres.fields.jsonb | ||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('deb', '0014_swap_distribution_model'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='installerpackage', | ||
name='custom_fields', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(null=True), | ||
), | ||
migrations.AddField( | ||
model_name='package', | ||
name='custom_fields', | ||
field=django.contrib.postgres.fields.jsonb.JSONField(null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters