diff --git a/wagtail/migrations/0080_generic_workflowstate.py b/wagtail/migrations/0080_generic_workflowstate.py index ebe19a03c0..b4368f5043 100644 --- a/wagtail/migrations/0080_generic_workflowstate.py +++ b/wagtail/migrations/0080_generic_workflowstate.py @@ -10,6 +10,10 @@ class Migration(migrations.Migration): ] operations = [ + migrations.RemoveConstraint( + model_name="workflowstate", + name="unique_in_progress_workflow", + ), migrations.AlterField( model_name="workflowstate", name="page", @@ -54,10 +58,6 @@ class Migration(migrations.Migration): name="workflowstate_base_ct_id_idx", ), ), - migrations.RemoveConstraint( - model_name="workflowstate", - name="unique_in_progress_workflow", - ), migrations.AddConstraint( model_name="workflowstate", constraint=models.UniqueConstraint(