mirror of
https://github.com/django/django.git
synced 2025-11-20 19:47:55 +00: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue