Fixed typo in django/db/backends/base/schema.py.
@@ -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)
