@@ -19,9 +19,8 @@ class Migration(migrations.Migration):
1919 fields = [
2020 ('content_ptr' , models .OneToOneField (auto_created = True , on_delete = django .db .models .deletion .CASCADE , parent_link = True , primary_key = True , serialize = False , to = 'core.content' )),
2121 ('name' , models .CharField (db_index = True , max_length = 255 )),
22- ('vers' , models .CharField (max_length = 64 )),
23- ('cksum' , models .CharField (max_length = 64 )),
24- ('yanked' , models .BooleanField (default = False )),
22+ ('vers' , models .CharField (db_index = True , max_length = 64 )),
23+ ('cksum' , models .CharField (db_index = True , max_length = 64 )),
2524 ('features' , models .JSONField (blank = True , default = dict )),
2625 ('features2' , models .JSONField (blank = True , default = dict , null = True )),
2726 ('links' , models .CharField (blank = True , max_length = 255 , null = True )),
@@ -87,4 +86,18 @@ class Migration(migrations.Migration):
8786 'indexes' : [models .Index (fields = ['content' , 'kind' ], name = 'rust_rustde_content_a46e30_idx' ), models .Index (fields = ['name' ], name = 'rust_rustde_name_6a2db4_idx' )],
8887 },
8988 ),
89+ migrations .CreateModel (
90+ name = 'RustPackageYank' ,
91+ fields = [
92+ ('content_ptr' , models .OneToOneField (auto_created = True , on_delete = django .db .models .deletion .CASCADE , parent_link = True , primary_key = True , serialize = False , to = 'core.content' )),
93+ ('name' , models .CharField (db_index = True , max_length = 255 )),
94+ ('vers' , models .CharField (db_index = True , max_length = 64 )),
95+ ('_pulp_domain' , models .ForeignKey (default = pulpcore .app .util .get_domain_pk , on_delete = django .db .models .deletion .PROTECT , to = 'core.domain' )),
96+ ],
97+ options = {
98+ 'default_related_name' : '%(app_label)s_%(model_name)s' ,
99+ 'unique_together' : {('name' , 'vers' , '_pulp_domain' )},
100+ },
101+ bases = ('core.content' ,),
102+ ),
90103 ]
0 commit comments