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
2
2
3
3
import django .contrib .postgres .fields .jsonb
4
4
from django .db import migrations , models
@@ -10,14 +10,14 @@ class Migration(migrations.Migration):
10
10
initial = True
11
11
12
12
dependencies = [
13
- ('core' , '0032_export_to_chunks ' ),
13
+ ('core' , '0091_systemid ' ),
14
14
]
15
15
16
16
operations = [
17
17
migrations .CreateModel (
18
18
name = 'PythonPublication' ,
19
19
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 ' )),
21
21
],
22
22
options = {
23
23
'default_related_name' : '%(app_label)s_%(model_name)s' ,
@@ -27,7 +27,7 @@ class Migration(migrations.Migration):
27
27
migrations .CreateModel (
28
28
name = 'PythonRemote' ,
29
29
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 ' )),
31
31
('prereleases' , models .BooleanField (default = False )),
32
32
('includes' , django .contrib .postgres .fields .jsonb .JSONField (default = list )),
33
33
('excludes' , django .contrib .postgres .fields .jsonb .JSONField (default = list )),
@@ -40,7 +40,7 @@ class Migration(migrations.Migration):
40
40
migrations .CreateModel (
41
41
name = 'PythonRepository' ,
42
42
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 ' )),
44
44
],
45
45
options = {
46
46
'default_related_name' : '%(app_label)s_%(model_name)s' ,
@@ -50,7 +50,7 @@ class Migration(migrations.Migration):
50
50
migrations .CreateModel (
51
51
name = 'PythonPackageContent' ,
52
52
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 ' )),
54
54
('filename' , models .TextField (db_index = True , unique = True )),
55
55
('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' )])),
56
56
('name' , models .TextField ()),
@@ -85,8 +85,8 @@ class Migration(migrations.Migration):
85
85
migrations .CreateModel (
86
86
name = 'PythonDistribution' ,
87
87
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 ' )),
90
90
],
91
91
options = {
92
92
'default_related_name' : '%(app_label)s_%(model_name)s' ,
0 commit comments