diff --git a/tcms/testplans/migrations/0005_squashed.py b/tcms/testplans/migrations/0005_squashed.py index 2849d41f8b..6770c9f223 100644 --- a/tcms/testplans/migrations/0005_squashed.py +++ b/tcms/testplans/migrations/0005_squashed.py @@ -207,10 +207,6 @@ class Migration(migrations.Migration): on_delete=models.deletion.CASCADE, to="testplans.PlanType" ), ), - migrations.AlterIndexTogether( - name="testplan", - index_together={("product", "plan_id")}, - ), migrations.RunPython(forwards_add_initial_data, reverse_add_initial_data), migrations.CreateModel( name="HistoricalTestPlan", diff --git a/tcms/testplans/migrations/0008_remove_autofield.py b/tcms/testplans/migrations/0008_remove_autofield.py index 7236665f85..39825647b6 100644 --- a/tcms/testplans/migrations/0008_remove_autofield.py +++ b/tcms/testplans/migrations/0008_remove_autofield.py @@ -32,10 +32,6 @@ class Migration(migrations.Migration): field=models.BooleanField(db_index=True, default=True), ), # drop TestPlan.plan_id in favor of TestPlan.id - migrations.AlterIndexTogether( - name="testplan", - index_together=set(), - ), migrations.RenameField( model_name="testplan", old_name="plan_id",