Fixed #32832 -- Fixed adding BLOB/TEXT nullable field with default on MySQL 8.0.13+.

Regression in d4ac23bee1.

Thanks Omkar Deshpande for the report.
This commit is contained in:
Mariusz Felisiak 2021-06-10 09:39:08 +02:00
parent 57bc16b38e
commit fa0433d05f
3 changed files with 40 additions and 2 deletions

View file

@ -16,3 +16,7 @@ Bugfixes
* Fixed a bug in Django 3.2 that caused a migration crash on MySQL 8.0.13+ when
altering ``BinaryField``, ``JSONField``, or ``TextField`` to non-nullable
(:ticket:`32503`).
* Fixed a regression in Django 3.2 that caused a migration crash on MySQL
8.0.13+ when adding nullable ``BinaryField``, ``JSONField``, or ``TextField``
with a default value (:ticket:`32832`).