mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Refs #25530 -- Changed _create_index_name to take a table as first parameter.
This commit is contained in:
parent
ad524980ac
commit
ea91ad4c13
5 changed files with 20 additions and 13 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue