From c12745f6826280acb637f9c43cd2c7c2ef3d8761 Mon Sep 17 00:00:00 2001 From: Tomer Chachamu Date: Mon, 12 Mar 2018 13:48:29 -0400 Subject: [PATCH] Fixed typo in django/db/backends/base/schema.py. --- django/db/backends/base/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py index 4885cf7837..bd07385672 100644 --- a/django/db/backends/base/schema.py +++ b/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)