Skip to content

Commit

Permalink
Merge pull request #778 from mdellweg/rebase_migrations
Browse files Browse the repository at this point in the history
Rebase migrations in preparation for 3.70
  • Loading branch information
mdellweg authored Dec 11, 2024
2 parents e2a6ecd + d461d76 commit 4d6c935
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGES/774.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rebase migrations to prepare for pulpcore 3.70.
16 changes: 8 additions & 8 deletions pulp_python/app/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by Django 2.2.3 on 2020-06-18 13:55
# Generated by Django 4.2.16 on 2024-12-11 16:42

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
Expand All @@ -10,14 +10,14 @@ class Migration(migrations.Migration):
initial = True

dependencies = [
('core', '0032_export_to_chunks'),
('core', '0091_systemid'),
]

operations = [
migrations.CreateModel(
name='PythonPublication',
fields=[
('publication_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonpublication', serialize=False, to='core.Publication')),
('publication_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonpublication', serialize=False, to='core.publication')),
],
options={
'default_related_name': '%(app_label)s_%(model_name)s',
Expand All @@ -27,7 +27,7 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='PythonRemote',
fields=[
('remote_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonremote', serialize=False, to='core.Remote')),
('remote_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonremote', serialize=False, to='core.remote')),
('prereleases', models.BooleanField(default=False)),
('includes', django.contrib.postgres.fields.jsonb.JSONField(default=list)),
('excludes', django.contrib.postgres.fields.jsonb.JSONField(default=list)),
Expand All @@ -40,7 +40,7 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='PythonRepository',
fields=[
('repository_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonrepository', serialize=False, to='core.Repository')),
('repository_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonrepository', serialize=False, to='core.repository')),
],
options={
'default_related_name': '%(app_label)s_%(model_name)s',
Expand All @@ -50,7 +50,7 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='PythonPackageContent',
fields=[
('content_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonpackagecontent', serialize=False, to='core.Content')),
('content_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythonpackagecontent', serialize=False, to='core.content')),
('filename', models.TextField(db_index=True, unique=True)),
('packagetype', models.TextField(choices=[('bdist_dmg', 'bdist_dmg'), ('bdist_dumb', 'bdist_dumb'), ('bdist_egg', 'bdist_egg'), ('bdist_msi', 'bdist_msi'), ('bdist_rpm', 'bdist_rpm'), ('bdist_wheel', 'bdist_wheel'), ('bdist_wininst', 'bdist_wininst'), ('sdist', 'sdist')])),
('name', models.TextField()),
Expand Down Expand Up @@ -85,8 +85,8 @@ class Migration(migrations.Migration):
migrations.CreateModel(
name='PythonDistribution',
fields=[
('basedistribution_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythondistribution', serialize=False, to='core.BaseDistribution')),
('publication', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='python_pythondistribution', to='core.Publication')),
('basedistribution_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='python_pythondistribution', serialize=False, to='core.basedistribution')),
('publication', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='python_pythondistribution', to='core.publication')),
],
options={
'default_related_name': '%(app_label)s_%(model_name)s',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ class Migration(migrations.Migration):
atomic = False

dependencies = [
('core', '0062_add_new_distribution_mastermodel'),
('python', '0003_new_sync_filters'),
]

Expand Down

0 comments on commit 4d6c935

Please sign in to comment.