mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
Refs #26709 -- Added index name to AddIndex.describe().
This commit is contained in:
@@ -795,7 +795,8 @@ class AddIndex(IndexOperation):
|
||||
)
|
||||
|
||||
def describe(self):
|
||||
return 'Create index on field(s) %s of model %s' % (
|
||||
return 'Create index %s on field(s) %s of model %s' % (
|
||||
self.index.name,
|
||||
', '.join(self.index.fields),
|
||||
self.model_name,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user