1- # Generated by Django 2 .2.3 on 2020-06-18 13:55
1+ # Generated by Django 4 .2.16 on 2024-12-11 16:42
22
33import django .contrib .postgres .fields .jsonb
44from django .db import migrations , models
@@ -10,14 +10,14 @@ class Migration(migrations.Migration):
1010 initial = True
1111
1212 dependencies = [
13- ('core' , '0032_export_to_chunks ' ),
13+ ('core' , '0091_systemid ' ),
1414 ]
1515
1616 operations = [
1717 migrations .CreateModel (
1818 name = 'PythonPublication' ,
1919 fields = [
20- ('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 ' )),
20+ ('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 ' )),
2121 ],
2222 options = {
2323 'default_related_name' : '%(app_label)s_%(model_name)s' ,
@@ -27,7 +27,7 @@ class Migration(migrations.Migration):
2727 migrations .CreateModel (
2828 name = 'PythonRemote' ,
2929 fields = [
30- ('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 ' )),
30+ ('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 ' )),
3131 ('prereleases' , models .BooleanField (default = False )),
3232 ('includes' , django .contrib .postgres .fields .jsonb .JSONField (default = list )),
3333 ('excludes' , django .contrib .postgres .fields .jsonb .JSONField (default = list )),
@@ -40,7 +40,7 @@ class Migration(migrations.Migration):
4040 migrations .CreateModel (
4141 name = 'PythonRepository' ,
4242 fields = [
43- ('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 ' )),
43+ ('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 ' )),
4444 ],
4545 options = {
4646 'default_related_name' : '%(app_label)s_%(model_name)s' ,
@@ -50,7 +50,7 @@ class Migration(migrations.Migration):
5050 migrations .CreateModel (
5151 name = 'PythonPackageContent' ,
5252 fields = [
53- ('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 ' )),
53+ ('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 ' )),
5454 ('filename' , models .TextField (db_index = True , unique = True )),
5555 ('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' )])),
5656 ('name' , models .TextField ()),
@@ -85,8 +85,8 @@ class Migration(migrations.Migration):
8585 migrations .CreateModel (
8686 name = 'PythonDistribution' ,
8787 fields = [
88- ('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 ' )),
89- ('publication' , models .ForeignKey (null = True , on_delete = django .db .models .deletion .SET_NULL , related_name = 'python_pythondistribution' , to = 'core.Publication ' )),
88+ ('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 ' )),
89+ ('publication' , models .ForeignKey (null = True , on_delete = django .db .models .deletion .SET_NULL , related_name = 'python_pythondistribution' , to = 'core.publication ' )),
9090 ],
9191 options = {
9292 'default_related_name' : '%(app_label)s_%(model_name)s' ,
0 commit comments