django1/django/db/backends
Mariusz Felisiak 7c2d4d943b [4.0.x] Fixed #33462 -- Fixed migration crash when altering type of primary key with MTI and foreign key.
This prevents duplicated operations when altering type of primary key
with MTI and foreign key. Previously, a foreign key to the base model
was added twice, once directly and once by the inheritance model.

Thanks bcail for the report.

Regression in 325d7710ce.
Backport of e972620ada from main
2022-01-27 18:52:35 +01:00
..
base [4.0.x] Fixed #33462 -- Fixed migration crash when altering type of primary key with MTI and foreign key. 2022-01-27 18:52:35 +01:00
dummy Made DatabaseFeatures.uses_savepoints default to True. 2018-10-25 10:02:47 -04:00
mysql [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names. 2021-11-12 11:14:08 +01:00
oracle [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names. 2021-11-12 11:14:08 +01:00
postgresql [4.0.x] Refs #32355 -- Bumped required psycopg2 version to 2.8.4. 2021-12-22 20:33:49 +01:00
sqlite3 [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names. 2021-11-12 11:14:08 +01:00
__init__.py Fixed #22603 -- Reorganized classes in django.db.backends. 2015-01-14 14:16:20 -05:00
ddl_references.py [4.0.x] Fixed #33194 -- Fixed migrations when altering a field with functional indexes/unique constraints on SQLite. 2021-10-18 09:36:21 +02:00
signals.py Fixed #31327 -- Deprecated providing_args argument for Signal. 2020-03-05 09:38:52 +01:00
utils.py [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names. 2021-11-12 11:14:08 +01:00