[1.11.x] Fixed typo in django/db/backends/base/schema.py comment.
Backport of 05098fa4494e66e1d3750d7f4821f7b3114693b9 from master
This commit is contained in:
parent
6afede8219
commit
369321819c
@ -571,7 +571,7 @@ class BaseDatabaseSchemaEditor(object):
|
|||||||
index_names = self._constraint_names(model, [old_field.column], index=True, type_=Index.suffix)
|
index_names = self._constraint_names(model, [old_field.column], index=True, type_=Index.suffix)
|
||||||
for index_name in index_names:
|
for index_name in index_names:
|
||||||
if index_name in meta_index_names:
|
if index_name in meta_index_names:
|
||||||
# There only way to check if an index was created with
|
# The only way to check if an index was created with
|
||||||
# db_index=True or with Index(['field'], name='foo')
|
# db_index=True or with Index(['field'], name='foo')
|
||||||
# is to look at its name (refs #28053).
|
# is to look at its name (refs #28053).
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user