summaryrefslogtreecommitdiff
path: root/tests/migrations/test_optimizer.py
Commit message (Expand)AuthorAgeFilesLines
* Refs #34534 -- Reduced Add/RemoveConstraint and Add/RenameIndex operations wh...Akash Kumar Sen2023-05-091-0/+51
* Fixed #34529, Refs #34525 -- Reduced index operations with Meta.indexes/index...Mariusz Felisiak2023-05-031-0/+178
* Fixed #34528 -- Reduced Add/RemoveIndex operations when optimizing migrations.Mariusz Felisiak2023-05-011-0/+14
* Fixed #34366 -- Reduced AlterField operations when optimizing migrations.Laurent Tramoy2023-02-241-6/+12
* Refs #27236 -- Reverted AlterIndexTogether deprecation.Mariusz Felisiak2022-07-261-3/+0
* Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes.David Wobrock2022-07-121-0/+3
* Refs #27064 -- Added RenameIndex migration operation.David Wobrock2022-05-121-0/+38
* Fixed #33572 -- Implemented CreateModel/AlterModelManagers reduction.Adam Johnson2022-03-111-0/+24
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-3/+3
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-207/+414
* Fixed #32256 -- Fixed migration optimization crash when swapping field names.Hasan Ramezani2021-02-191-0/+17
* Fixed #32262 -- Fixed migration optimization for model creation and Meta opti...Hasan Ramezani2020-12-181-0/+36
* Refs #22608 -- Made app_label required when optimizing migrations.Simon Charette2020-04-091-11/+24
* Made assertOptimizesTo() more strict in migrations tests.Vytis Banaitis2019-01-211-3/+7
* Fixed #27731 -- Implemented CreateModel/AlterFooOperation reduction.Simon Charette2018-07-191-15/+52
* Fixed #28862 -- Disabled optimization of AlterFooTogether and RemoveField.Simon Charette2018-07-191-8/+1
* Fixed #27845 -- Allowed both right and left optimizations of operations.Simon Charette2018-07-111-9/+1
* Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.Simon Charette2018-07-111-0/+29
* Fixed #27768 -- Allowed migration optimization of CreateModel order.Simon Charette2018-07-111-6/+81
* Refs #22875 -- Fixed an optimizer test to use a valid scenario.Simon Charette2018-07-101-5/+9
* Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak2017-12-281-4/+4
* Simplified tests with assertDoesNotOptimize().Ed Morley2017-01-251-26/+4
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
* Fixed #27717 -- Allowed migration optimization across AlterModelOptions.Ed Morley2017-01-101-0/+11
* Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za2016-11-101-4/+4
* Fixed #26710 -- Made CreateModel.references_model() take app_label into account.Sergey Fedoseev2016-06-061-6/+51
* Fixed #26521 -- Validated CreateModel bases, fields and managers for duplicates.James Robert2016-04-271-11/+11
* Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.Simon Charette2016-01-231-0/+20
* Fixed #23395 -- Limited line lengths to 119 characters.Dražen Odobašić2015-09-121-4/+12
* Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey...Flavio Curella2015-07-271-4/+4
* Fixed #24828 -- Allowed migration optimization across AlterFooTogetherMarkus Holtermann2015-06-161-0/+152
* Optimized duplicate AlterModelTable/AlterFooTogether/AlterOWRTMarkus Holtermann2015-06-141-0/+39
* Took AlterOrderWithRespectTo into account when optimizing migrationsMarkus Holtermann2015-06-141-3/+13
* Refs #24652 -- Used SimpleTestCase where appropriate.Simon Charette2015-05-201-2/+2
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-3/+2
* Refs #23822 -- Made MigrationOptimizer aware of model managersMarkus Holtermann2015-01-071-22/+89
* Fixed #23844 -- Used topological sort for migration operation dependency reso...Patryk Zawadzki2014-11-201-32/+3
* Fixed #22875: Optimizer did not take through= into account.Andrew Godwin2014-06-221-0/+38
* Harmonized some PEP 0263 coding preamblesClaude Paroz2014-05-151-1/+1
* flake8 fixesAlex Gaynor2013-11-061-2/+2
* Massive migration optimiser improvements + RenameModel opnAndrew Godwin2013-11-061-1/+194
* Fixed all E251 violationsAlex Gaynor2013-11-031-1/+1
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+0
* Improve migration optimizer to be able to optimize through other opsAndrew Godwin2013-10-161-0/+62
* Initial version of MigrationOptimizer and testsAndrew Godwin2013-10-021-0/+95