[1.11.x] Pass type to sql_alter_column_* where it was missing.

This is a followup to 2b3a941457

Backport of 837259a63f from master.
This commit is contained in:
Florian Apolloner 2017-05-09 12:47:35 +02:00
parent b3e56da050
commit ab0df82b40
1 changed files with 1 additions and 0 deletions

View File

@ -434,6 +434,7 @@ class BaseDatabaseSchemaEditor(object):
"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)