summaryrefslogtreecommitdiff
path: root/django/db/migrations/executor.py
AgeCommit message (Expand)Author
2025-11-18Fixed #36141 -- Checked for applied replaced migrations recursively.Georgi Yanchev
2025-07-23Refs #36500 -- Rewrapped long docstrings and block comments via a script.django-bot
2025-04-01Fixed #36184 -- Allowed migrating forward to squashed migrations.Jacob Walls
2025-02-13Fixed #36146 -- Recorded applied/unapplied migrations recursively.Georgi Yanchev
2024-03-22Fixed #34841 -- Avoided rendering apps on state still requiring mutation.David Sanders
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
2021-12-30Fixed #23273 -- Avoided creation of django_migrations table when there are no...Jacob Walls
2021-08-30Fixed #24900 -- Allowed migrating backward to squashed migrations.Jacob Walls
2021-08-11Refs #29898 -- Changed ProjectState.real_apps to set.Mariusz Felisiak
2021-06-08Fixed #25255 -- Recorded unapplied squashed migrations.Jacob Walls
2021-01-21Fixed #32374 -- Stopped recording migration application before deferred SQL.Simon Charette
2020-03-09Refs #31318 -- Moved MigrationExecutor.collect_sql() to MigrationLoader.David Wobrock
2020-02-06Fixed #31233 -- Closed database connections and cursors after use.Jon Dufresne
2019-11-15Fixed #29808 -- Fixed initial migration detection when identifiers are case-i...Hasan Ramezani
2019-11-15Refs #29808 -- Optimized MigrationExecutor.detect_soft_applied().Hasan Ramezani
2019-03-07Refs #30186 -- Changed MigrationRecorder.applied_migrations() to return a dict.Tim Schilling
2018-10-24Fixed #29721 -- Ensured migrations are applied and recorded atomically.Sanyam Khurana
2017-11-28Fixed #28853 -- Updated connection.cursor() uses to use a context manager.Jon Dufresne
2017-06-19Fixed #27858 -- Prevented read-only management commands from creating the dja...Marti Raudsepp
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-08-24Fixed #27100 -- Included already applied migration changes in the pre-migrate...Simon Charette
2016-08-24Fixed #27044 -- Included already applied migration changes in the post-migrat...Simon Charette
2016-05-26Fixed #26647 -- Included the state of all applied migrations when migrating f...Simon Charette
2016-05-15Fixed #24100 -- Made the migration signals dispatch its plan and apps.Simon Charette
2016-02-25Fixed #26117 -- Consulted database routers in initial migration detection.Scott Sexton
2016-02-05Fixed #25833 -- Added support for non-atomic migrations.Pankrat
2015-12-19Fixed #25922 -- Fixed migrate --fake-initial detection of many-to-many tables.Tim Graham
2015-09-19Fixed #24743, #24745 -- Optimized migration plan handlingMarkus Holtermann
2015-07-13Fixed #24375 -- Added Migration.initial attributeAndrei Kulakov
2015-06-03Cleaned up docstring style, per Tim Graham review.Carl Meyer
2015-06-03Refs #24628 -- Added a second test and a docstring comment to avoid regression.Carl Meyer
2015-06-02Fixed #24628 -- Fixed applied status for squashed migrations.Carl Meyer
2015-04-01Refs #24554 -- Prevented rendering of unused migrationsMarkus Holtermann
2015-04-01Fixed #24554 -- Sped up migrations by rendering initial apps when they are fi...Markus Holtermann
2015-02-23Fixed #24366 -- Optimized traversal of large migration dependency graphs.Marten Kenbeek
2015-02-13Fixed #24184 -- Prevented automatic soft-apply of migrationsMarkus Holtermann
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-12Fixed #24129 -- Added indicator that migrations are rendering the initial stateMarkus Holtermann
2015-01-12Fixed #24123 -- Used all available migrations to generate the initial migrati...Markus Holtermann
2015-01-02Fixed #23745 -- Reused states as much as possible in migrationsClaude Paroz
2015-01-02Passed around the state between migrationsClaude Paroz
2015-01-02Replaced migration state render() by apps cached propertyClaude Paroz
2014-11-19Fixed #23410 -- Avoided unnecessary rollbacks in related apps when migrating ...Carl Meyer
2014-09-24Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wro...Tim Graham
2014-09-23Called table_names instead of get_table_list in migrationsClaude Paroz
2014-09-15Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migra...valtron
2014-07-29Fix soft_applied in a way that doesn't break testsAndrew Godwin