1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Pass type to sql_alter_column_* where it was missing.

This is a followup to 2b3a941457
This commit is contained in:
Florian Apolloner 2017-05-09 12:47:35 +02:00
parent 8e352876c3
commit 837259a63f

View File

@ -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)