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

Fixed #33932 -- Fixed altering AutoFields to OneToOneField on PostgreSQL.

Regression in 2eea361eff.
This commit is contained in:
Benoît Vinot
2022-08-17 13:19:16 +02:00
committed by Mariusz Felisiak
parent e1056ed5a2
commit e3cb8bcb7d
3 changed files with 31 additions and 1 deletions

View File

@@ -39,3 +39,7 @@ Bugfixes
* Fixed a regression in Django 4.1 that caused an incorrect migration when
adding ``AutoField``, ``BigAutoField``, or ``SmallAutoField`` on PostgreSQL
(:ticket:`33919`).
* Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL
when altering ``AutoField``, ``BigAutoField``, or ``SmallAutoField`` to
``OneToOneField`` (:ticket:`33932`).