diff --git a/django/db/backends/base/schema.py b/django/db/backends/base/schema.py index b1426dc920..c3cb1143cc 100644 --- a/django/db/backends/base/schema.py +++ b/django/db/backends/base/schema.py @@ -411,6 +411,7 @@ class BaseDatabaseSchemaEditor: "table": self.quote_name(model._meta.db_table), "changes": self.sql_alter_column_no_default % { "column": self.quote_name(field.column), + "type": db_params['type'], } } self.execute(sql)