diff --git a/paperwork/migrations/0010_switch_certificationversion_to_semver.py b/paperwork/migrations/0010_switch_certificationversion_to_semver.py index ed802f1..2b1cfbe 100644 --- a/paperwork/migrations/0010_switch_certificationversion_to_semver.py +++ b/paperwork/migrations/0010_switch_certificationversion_to_semver.py @@ -28,7 +28,6 @@ def migrate_version(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("paperwork", "0009_rename_department_list_moderator_flag_to_shop_lead_flag"), ] @@ -63,17 +62,6 @@ class Migration(migrations.Migration): field=models.DateField(blank=True, null=True), ), migrations.RunPython(migrate_version, atomic=True), - migrations.AlterField( - model_name="certificationversion", - name="definition", - field=models.ForeignKey( - db_constraint=False, - db_index=False, - db_column="Certification", - on_delete=django.db.models.deletion.PROTECT, - to="paperwork.certificationdefinition", - ), - ), migrations.RemoveConstraint( model_name="certificationversion", name="unique_certification_version", @@ -85,15 +73,6 @@ class Migration(migrations.Migration): name="unique_certification_version", ), ), - migrations.AlterField( - model_name="certificationversion", - name="definition", - field=models.ForeignKey( - db_column="Certification", - on_delete=django.db.models.deletion.PROTECT, - to="paperwork.certificationdefinition", - ), - ), migrations.RemoveField( model_name="certificationversion", name="version",