summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2024-02-03 10:54:51 -0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2024-02-04 09:24:38 +0100
commit3e7a30fb3a5ea38d06bbedd53e2130bf192425c7 (patch)
tree81d11e0eff12702f57b4b2a2ea845a113bc65585 /docs
parent741f080ab595fa34ad0d682a096026abade0dcab (diff)
[5.0.x] Fixed #35162 -- Fixed crash when adding fields with db_default on MySQL.
MySQL doesn't allow literal DEFAULT values to be used for BLOB, TEXT, GEOMETRY or JSON columns and requires expression to be used instead. Regression in 7414704e88d73dafbcfbb85f9bc54cb6111439d3. Backport of dfc77637ea5c1aa81caa72b1cf900e6931d61b54 from main
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/5.0.2.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/5.0.2.txt b/docs/releases/5.0.2.txt
index 64ffcb88bd..a385fbd13e 100644
--- a/docs/releases/5.0.2.txt
+++ b/docs/releases/5.0.2.txt
@@ -32,3 +32,7 @@ Bugfixes
* Fixed a regression in Django 5.0 that caused the ``request_finished`` signal to
sometimes not be fired when running Django through an ASGI server, resulting
in potential resource leaks (:ticket:`35059`).
+
+* Fixed a bug in Django 5.0 that caused a migration crash on MySQL when adding
+ a ``BinaryField``, ``TextField``, ``JSONField``, or ``GeometryField`` with a
+ ``db_default`` (:ticket:`35162`).