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"] )