(self)
| 80 | |
| 81 | @skipUnlessDBFeature("supports_index_column_ordering") |
| 82 | def test_descending_columns_list_sql(self): |
| 83 | index = Index(fields=["-headline"], name="whitespace_idx") |
| 84 | editor = connection.schema_editor() |
| 85 | self.assertIn( |
| 86 | "(%s DESC)" % editor.quote_name("headline"), |
| 87 | str(index.create_sql(Article, editor)), |
| 88 | ) |
| 89 | |
| 90 | @skipUnlessDBFeature("can_create_inline_fk", "can_rollback_ddl") |
| 91 | def test_alter_field_unique_false_removes_deferred_sql(self): |
nothing calls this directly
no test coverage detected