| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-04-09 | Refs #22608 -- Made app_label required when optimizing migrations. | Simon Charette | |
| This paved the way for the removal of lot of logic when app_label was not specified. | |||
| 2020-03-02 | Refs #26064 -- Avoided unnecessary list slicing in migration optimizer. | Simon Charette | |
| The in_between list is only necessary if an optimization is possible. | |||
| 2018-07-11 | Removed in_between from Operation.reduce()'s signature. | Simon Charette | |
| It isn't used since FieldOperation.references_model() takes into account models referenced by the field it's operating on. | |||
| 2018-07-11 | Fixed #27845 -- Allowed both right and left optimizations of operations. | Simon Charette | |
| Thanks Raphael Gaschignard for the suggestion. | |||
| 2018-07-11 | Refs #27768 -- Reversed order of optimized and in-between operations. | Simon Charette | |
| Operations can only be optimized through if they don't reference any of the state the operation they are compared against defines or alters, so it's safe to reverse the order. | |||
| 2017-02-28 | Refs #27656 -- Updated django.db docstring verbs according to PEP 257. | Anton Samarchyan | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-01-23 | Fixed #26064 -- Moved operation reduction logic to their own class. | Simon Charette | |
| Thanks to Markus Holtermann and Tim Graham for their review. | |||
| 2015-06-16 | Sorted reduce methods in migration optimizer | Markus Holtermann | |
| Thanks Tim Graham for the review. | |||
| 2015-06-16 | Fixed #24828 -- Allowed migration optimization across AlterFooTogether | Markus Holtermann | |
| The idea behind this change is, that AlterUniqueTogether, AlterIndexTogether and AlterOrderWithRespectTo can always be moved after an Add/Alter/Rename/RemoveField operation if they don't refer to the respective field and are not empty sets / None. Combined with the optimizations of duplicate AlterUniqueTogether, AlterIndexTogether, and AlterOrderWithRespectTo operations from 128caa1e16ec2627737748f75c8e55600a3df97f, these operations are optimized in a later round of the optimizer. Thanks Tim Graham for the review. | |||
| 2015-06-14 | Changed reduce method lookup in migration optimizer to dict | Markus Holtermann | |
| Thanks Andrew Godwin and Simon Charette for the review. | |||
| 2015-06-14 | Explicitly imported migration operations in optimizer | Markus Holtermann | |
| Thanks Andrew Godwin for the review. | |||
| 2015-06-14 | Optimized duplicate AlterModelTable/AlterFooTogether/AlterOWRT | Markus Holtermann | |
| Thanks Andrew Godwin for the review. | |||
| 2015-06-14 | Took AlterOrderWithRespectTo into account when optimizing migrations | Markus Holtermann | |
| Thanks Andrew Godwin for the review. | |||
| 2015-03-25 | Renamed Field.rel attribute to remote_field | Anssi Kääriäinen | |
| Field.rel is now deprecated. Rel objects have now also remote_field attribute. This means that self == self.remote_field.remote_field. In addition, made the Rel objects a bit more like Field objects. Still, marked ManyToManyFields as null=True. | |||
| 2015-01-20 | Fixed typos in code comments. | Adam Taylor | |
| 2015-01-07 | Refs #23822 -- Made MigrationOptimizer aware of model managers | Markus Holtermann | |
| 2015-01-07 | Refs #22608 -- Optimized migration optimizer | Markus Holtermann | |
| Moved list constants instantiation into optimizer's __init__. | |||
| 2015-01-07 | Refs #22608 -- Optimized migration optimizer and migrate by caching calls to ↵ | Ulrich Petri | |
| str.lower() | |||
| 2014-10-29 | Limited lines to 119 characters in django/{contrib,db}. | Berker Peksag | |
| Refs #23395. | |||
| 2014-06-22 | Fixed #22875: Optimizer did not take through= into account. | Andrew Godwin | |
| 2014-06-16 | Fixed #22847: Optimizer wasn't expecting unresolved FKs | Andrew Godwin | |
| 2014-06-15 | Fixed several flake8 errors | Alex Gaynor | |
| 2014-06-15 | Fixed #22568: Better proxy model support in migrations | Andrew Godwin | |
| 2014-06-06 | Fixed flake8 errors. | Tim Graham | |
| 2014-06-05 | Rewrote migration autodetector to involve actual computer science. | Andrew Godwin | |
| Fixes #22605, #22735; also lays the ground for some other fixes. | |||
| 2014-05-06 | Added a bunch of missing unicode_literals | Claude Paroz | |
| Refs #22564. | |||
| 2014-03-03 | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | |
| Thanks Piotr Kasprzyk for help with the patch. | |||
| 2013-12-10 | Fixed E124 pep8 warnings. | Loic Bistuer | |
| 2013-11-06 | flake8 fixes | Alex Gaynor | |
| 2013-11-06 | Massive migration optimiser improvements + RenameModel opn | Andrew Godwin | |
| 2013-11-03 | Fixed all E226 violations | Alex Gaynor | |
| 2013-11-02 | More attacking E302 violators | Alex Gaynor | |
| 2013-10-16 | Improve migration optimizer to be able to optimize through other ops | Andrew Godwin | |
| 2013-10-02 | Initial version of MigrationOptimizer and tests | Andrew Godwin | |
