mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #25530 -- Changed _create_index_name to take a table as first parameter.
This commit is contained in:
@@ -1640,7 +1640,7 @@ class SchemaTests(TransactionTestCase):
|
||||
author_index_name = index.name
|
||||
with connection.schema_editor() as editor:
|
||||
db_index_name = editor._create_index_name(
|
||||
model=AuthorWithIndexedName,
|
||||
table_name=AuthorWithIndexedName._meta.db_table,
|
||||
column_names=('name',),
|
||||
)
|
||||
if connection.features.uppercases_column_names:
|
||||
|
||||
Reference in New Issue
Block a user