mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Made SchemaTests.test_alter_db_table_case run only on backends where table names are case-insensitive.
This commit is contained in:
parent
72ebe85a26
commit
b93d786251
@ -1130,6 +1130,7 @@ class SchemaTests(TransactionTestCase):
|
|||||||
# The unique constraint remains.
|
# The unique constraint remains.
|
||||||
self.assertEqual(counts, {'fks': expected_fks, 'uniques': 1, 'indexes': 0})
|
self.assertEqual(counts, {'fks': expected_fks, 'uniques': 1, 'indexes': 0})
|
||||||
|
|
||||||
|
@skipUnlessDBFeature('ignores_table_name_case')
|
||||||
def test_alter_db_table_case(self):
|
def test_alter_db_table_case(self):
|
||||||
# Create the table
|
# Create the table
|
||||||
with connection.schema_editor() as editor:
|
with connection.schema_editor() as editor:
|
||||||
|
Loading…
Reference in New Issue
Block a user