Kaydet (Commit) c12745f6 authored tarafından Tomer Chachamu's avatar Tomer Chachamu Kaydeden (comit) Tim Graham

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

üst 3c71fb39
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment