1
0
mirror of https://github.com/django/django.git synced 2025-10-25 14:46:09 +00:00

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

Regression in d4ac23bee1.

Thanks Omkar Deshpande for the report.

Backport of fa0433d05f from main
This commit is contained in:
Mariusz Felisiak
2021-06-10 09:39:08 +02:00
parent bb29174f94
commit 826a1659ee
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`).