diff --git a/dash/dashblocks/migrations/0011_alter_dashblock_index_together_and_more.py b/dash/dashblocks/migrations/0011_alter_dashblock_index_together_and_more.py index feba7bb..2132151 100644 --- a/dash/dashblocks/migrations/0011_alter_dashblock_index_together_and_more.py +++ b/dash/dashblocks/migrations/0011_alter_dashblock_index_together_and_more.py @@ -1,6 +1,6 @@ # Generated by Django 4.1.7 on 2023-03-29 14:58 -from django.db import migrations +from django.db import migrations, models class Migration(migrations.Migration): @@ -10,12 +10,14 @@ class Migration(migrations.Migration): ] operations = [ - migrations.AlterIndexTogether( - name="dashblock", - index_together={("org", "is_active", "dashblock_type", "priority")}, + migrations.AddIndex( + model_name="dashblock", + index=models.Index( + fields=["org", "is_active", "dashblock_type", "priority"], name="dashblocks__org_id_024805_idx" + ), ), - migrations.AlterIndexTogether( - name="dashblocktype", - index_together={("slug", "name")}, + migrations.AddIndex( + model_name="dashblocktype", + index=models.Index(fields=["slug", "name"], name="dashblocks__slug_c0c6c6_idx"), ), ] diff --git a/dash/orgs/migrations/0031_alter_orgbackend_index_together.py b/dash/orgs/migrations/0031_alter_orgbackend_index_together.py index b482e78..fbc2dcd 100644 --- a/dash/orgs/migrations/0031_alter_orgbackend_index_together.py +++ b/dash/orgs/migrations/0031_alter_orgbackend_index_together.py @@ -1,6 +1,6 @@ # Generated by Django 4.1.7 on 2023-03-29 13:57 -from django.db import migrations +from django.db import migrations, models class Migration(migrations.Migration): @@ -9,8 +9,8 @@ class Migration(migrations.Migration): ] operations = [ - migrations.AlterIndexTogether( - name="orgbackend", - index_together={("org", "is_active", "slug")}, + migrations.AddIndex( + model_name="orgbackend", + index=models.Index(fields=["org", "is_active", "slug"], name="orgs_orgbac_org_id_607508_idx"), ), ]