Fixed typo in django/db/backends/base/schema.py.

This commit is contained in:
Tomer Chachamu 2018-03-12 13:48:29 -04:00 committed by Tim Graham
parent 3c71fb3909
commit c12745f682
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ class BaseDatabaseSchemaEditor:
# Reset connection if required
if self.connection.features.connection_persists_old_columns:
self.connection.close()
# Remove all deferred statements referencing the deleted table.
# Remove all deferred statements referencing the deleted column.
for sql in list(self.deferred_sql):
if isinstance(sql, Statement) and sql.references_column(model._meta.db_table, field.column):
self.deferred_sql.remove(sql)