Removed unnecessary variable in Index.create_sql().

Unnecessary since fdfb3086fc.
This commit is contained in:
Hannes Ljungberg 2022-04-22 19:07:56 +02:00 committed by GitHub
parent 0de89b6f8d
commit ed0a2c3238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -110,7 +110,6 @@ class Index:
model._meta.get_field(field_name)
for field_name, _ in self.fields_orders
]
col_suffixes = [order[1] for order in self.fields_orders]
if schema_editor.connection.features.supports_index_column_ordering:
col_suffixes = [order[1] for order in self.fields_orders]
else: