summaryrefslogtreecommitdiff
path: root/tests/migrations/test_autodetector.py
AgeCommit message (Expand)Author
2026-01-28Fixed #36878 -- Unified data type for *_together options in ModelState.Markus Holtermann
2025-12-19Fixed #36791 -- Made MigrationAutodetector recreate through table when m2m ta...Johanan Oppong Amoateng
2025-07-25Fixed #36438 -- Made MigrationAutodetector remove generated fields before the...Clifford Gama
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-06-27Fixed #35595, #35962 -- Removed indexes and constraints before fields in migr...wookkl
2025-06-23Fixed #35305 -- Avoided recreating constraints on fields renamed via db_column.Jacob Walls
2025-02-06Refs #22997 -- Prevented requesting a default value for auto fields.Ben Cail
2024-11-29Fixed #373 -- Added CompositePrimaryKey.Bendeguz Csirmaz
2024-11-28Fixed #35038 -- Created AlterConstraint operation.Salvo Polizzi
2024-11-28Refs #35038 -- Added test for drop and recreation of a constraint.Salvo Polizzi
2024-05-02Fixed #35359 -- Fixed migration operations ordering when adding fields refere...DevilsAutumn
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
2024-02-09Refs #34534 -- Reduced constraint operations with Meta.constraints when optim...Ben Cail
2024-02-04Fixed #35149 -- Fixed crashes of db_default with unresolvable output field.Simon Charette
2023-09-18Refs #27236 -- Removed Meta.index_together per deprecation timeline.Mariusz Felisiak
2023-09-11Fixed #34824 -- Prevented unnecessary AlterField when ForeignObject.from_fiel...donghao
2023-08-23Fixed #34744 -- Prevented recreation of migration for constraints with a dict...David Sanders
2023-05-12Fixed #470 -- Added support for database defaults on fields.Ian Foote
2023-05-03Fixed #34529, Refs #34525 -- Reduced index operations with Meta.indexes/index...Mariusz Felisiak
2023-03-10Fixed #34333 -- Fixed migration operations ordering when adding index/constra...Durval Carvalho
2023-01-19Fixed #32528 -- Replaced django.utils.topological_sort with graphlib.Topologi...Nick Pope
2022-12-28Fixed #18468 -- Added support for comments on columns and tables.kimsoungryoul
2022-09-27Fixed #34050 -- Replaced invalid chars in migration names with '_'.Adam Johnson
2022-08-25Fixed #33938 -- Fixed migration crash for m2m with a through model in another...Simon Charette
2022-07-12Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.David Wobrock
2022-06-13Refs #27236 -- Split index_together and unique_together autodetector tests.David Wobrock
2022-06-13Refs #27236 -- Added test_autodetector.BaseAutodetectorTests.David Wobrock
2022-06-02Fixed #31788 -- Fixed migration optimization after altering field to ManyToMa...David Wobrock
2022-05-17Refs #27064 -- Made migrations generate RenameIndex operations when moving in...David Wobrock
2022-05-16Refs #27064 -- Made migrations generate RenameIndex operations when renaming ...David Wobrock
2022-04-04Fixed #33605 -- Fixed migration crash when altering RegexValidator to pre-com...Brian Helba
2022-02-16Fixed #33515 -- Prevented recreation of migration for ManyToManyField to lowe...Mariusz Felisiak
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2022-02-01Fixed #33480 -- Fixed makemigrations crash when renaming field of renamed model.Kirill Safronov
2022-01-04Fixed #33402 -- Optimized multiple AlterFooTogether operations.David Wobrock
2021-12-17Fixed #33366 -- Fixed case handling with swappable setting detection in migra...Simon Charette
2021-11-22Fixed #33305 -- Fixed autodetector crash for ForeignKey with hardcoded "to" a...Baptiste Mispelon
2021-11-02Fixed #33234 -- Fixed autodetector crash for proxy models inheriting from non...Mariusz Felisiak
2021-10-26Corrected AutodetectorTests.test_rename_field_and_foo_together()'s docstring.Mariusz Felisiak
2021-10-25Fixed #31503 -- Made autodetector remove unique/index_together before alterin...David Wobrock
2021-10-19Fixed #33197 -- Made field rename with prior matching db_column change a noop.Simon Charette
2021-10-15Fixed #23953 -- Made makemigrations continue number sequence for squashed mig...Jacob Walls
2021-10-15Refs #23953 -- Added MigrationAutodetector.parse_number() tests.Jacob Walls
2021-09-20Refs #33119 -- Added tests for changing model name case referenced by ManyToM...AliGhotbizadeh
2021-08-11Refs #29898 -- Changed ProjectState.real_apps to set.Mariusz Felisiak
2021-04-16Fixed #29899 -- Made autodetector use model states instead of model classes.David Wobrock
2021-03-12Fixed #31516 -- Improved naming of migrations with multiple operations.manav014
2021-03-12Refs #31516 -- Added Migration.suggest_name() tests for migrations with no op...Adam Johnson
2021-03-12Refs #31516, Refs #31703 -- Made makemigrations always name initial migration...Adam Johnson