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

Signed-off-by: JaeHyuck Sa <wogur981208@gmail.com>
This commit is contained in:
사재혁 2025-12-22 20:05:25 +09:00 committed by GitHub
parent e49e14fd90
commit afaa527c43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -938,7 +938,7 @@ class BaseDatabaseSchemaEditor:
def _field_db_check(self, field, field_db_params):
# Always check constraints with the same mocked column name to avoid
# recreating constrains when the column is renamed.
# recreating constraints when the column is renamed.
check_constraints = self.connection.data_type_check_constraints
data = field.db_type_parameters(self.connection)
data["column"] = "__column_name__"