From 5f89da0837009debda998af30f280d7075fb1a4d Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 12 Dec 2023 05:39:11 +0100 Subject: [5.0.x] Fixed #35018 -- Fixed migrations crash on GeneratedField with BooleanField as output_field on Oracle < 23c. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Václav Řehák for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of fcf95e592774a6ededec35481a2061474d467a2b from main. --- docs/releases/5.0.1.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.0.1.txt b/docs/releases/5.0.1.txt index 6b0b6de66c..2e720e57f0 100644 --- a/docs/releases/5.0.1.txt +++ b/docs/releases/5.0.1.txt @@ -20,3 +20,7 @@ Bugfixes * Fixed a regression in Django 5.0 that caused a crash of ``Model.save()`` for models with both ``GeneratedField`` and ``ForeignKey`` fields (:ticket:`35019`). + +* Fixed a bug in Django 5.0 that caused a migration crash on Oracle < 23c when + adding a ``GeneratedField`` with ``output_field=BooleanField`` + (:ticket:`35018`). -- cgit v1.3