summaryrefslogtreecommitdiff
path: root/tests/migrations/test_autodetector.py
AgeCommit message (Expand)Author
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
2020-08-28Fixed #31954 -- Fixed migration optimization for MTI model creation with pare...Koen De Wit
2020-08-08Fixed #31831 -- Fixed migration operations ordering when adding order_with_re...Iuri de Silvio
2020-08-08Refs #31831 -- Added autodector test for unique/index_together on _order field.Iuri de Silvio
2020-06-24Fixed #31703 -- Made makemigrations name all initial migrations "initial".Jon Dufresne
2020-06-24Refs #31703 -- Added Migration.suggest_name() test for initial migration with...Jon Dufresne
2020-06-24Refs #31703 -- Moved MigrationAutodetector.suggest_name() to Migration.Jon Dufresne
2020-05-28Fixed #31468 -- Allowed specifying migration filename in Operation.Adam Johnson
2020-05-28Refs #31468 -- Added tests for MigrationAutodetector.suggest_name().Adam Johnson
2020-05-26Fixed #31416 -- Made autodetector find dependencies for MTI model creation on...Nan Liu
2020-03-25Fixed #23916 -- Allowed makemigrations to handle related model name case chan...Adam Johnson
2019-10-14Fixed #30868 -- Prevented unnecessary AlterField when renaming a referenced pk.Simon Charette
2019-09-03Fixed #30691 -- Made migrations autodetector find dependencies for foreign ke...Viktor Lomakin
2019-06-28Fixed #30400 -- Improved typography of user facing strings.Jon Dufresne
2018-11-30Fixed #29987 -- Detected unmanaged model deletions.Tim Fiedler
2018-10-29Fixed #29897 -- Fixed autodetector's swappable MTI dependency resolution.Simon Charette
2018-10-02Refs #11964 -- Changed CheckConstraint() signature to use keyword-only argume...Simon Charette
2018-09-14Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.Simon Charette
2018-07-25Refs #24424 -- Added regression tests for MTI-inheritance model removal.Simon Charette
2018-07-19Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.Simon Charette
2018-07-19Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.Simon Charette
2018-07-11Allowed RemoveField operations to be optimized through.Simon Charette