1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed DatabaseFeatures.supports_index_column_ordering and related tests with MyISAM storage engine.

This commit is contained in:
Mariusz Felisiak
2022-04-12 15:34:26 +02:00
parent 1bdfde0857
commit fdfb3086fc
3 changed files with 7 additions and 0 deletions

View File

@@ -93,6 +93,7 @@ class SchemaIndexesTests(TestCase):
str(index.create_sql(Article, editor)),
)
@skipUnlessDBFeature("supports_index_column_ordering")
def test_descending_columns_list_sql(self):
index = Index(fields=["-headline"], name="whitespace_idx")
editor = connection.schema_editor()