Removed unnecessary variable in Index.create_sql().
Unnecessary since fdfb3086fc
.
This commit is contained in:
parent
0de89b6f8d
commit
ed0a2c3238
|
@ -110,7 +110,6 @@ class Index:
|
||||||
model._meta.get_field(field_name)
|
model._meta.get_field(field_name)
|
||||||
for field_name, _ in self.fields_orders
|
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:
|
if schema_editor.connection.features.supports_index_column_ordering:
|
||||||
col_suffixes = [order[1] for order in self.fields_orders]
|
col_suffixes = [order[1] for order in self.fields_orders]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue