mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #25530 -- Tracked references of deferred SQL statements.
This commit is contained in:
@@ -15,7 +15,7 @@ def sql_for_table(model):
|
||||
|
||||
|
||||
def sql_for_index(model):
|
||||
return '\n'.join(connection.schema_editor()._model_indexes_sql(model))
|
||||
return '\n'.join(str(sql) for sql in connection.schema_editor()._model_indexes_sql(model))
|
||||
|
||||
|
||||
# We can't test the DEFAULT_TABLESPACE and DEFAULT_INDEX_TABLESPACE settings
|
||||
|
||||
Reference in New Issue
Block a user