diff options
Diffstat (limited to 'tests/schema')
| -rw-r--r-- | tests/schema/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py index ecc6aeb1c6..d2707ecea7 100644 --- a/tests/schema/tests.py +++ b/tests/schema/tests.py @@ -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: |
