summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/migrations/test_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/migrations/test_base.py b/tests/migrations/test_base.py
index b636d18ec4..24ae59ca1b 100644
--- a/tests/migrations/test_base.py
+++ b/tests/migrations/test_base.py
@@ -108,6 +108,7 @@ class MigrationTestBase(TransactionTestCase):
.values()
if (
c["columns"] == list(columns)
+ and c["index"] is True
and (index_type is None or c["type"] == index_type)
and not c["unique"]
)