summaryrefslogtreecommitdiff
path: root/django/db/migrations/operations
AgeCommit message (Expand)Author
2018-10-29Fixed #29868 -- Retained database constraints on SQLite table rebuilds.Simon Charette
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-09-14Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.Simon Charette
2018-08-01Fixed typos in comments and docs.luz.paz
2018-07-19Refs #28862 -- Removed the FieldRelatedOptionOperation.reduce() optimization.Simon Charette
2018-07-19Fixed #26906 -- Reduced alter together operations code duplication.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-11Removed in_between from Operation.reduce()'s signature.Simon Charette
2018-07-11Allowed RemoveField operations to be optimized through.Simon Charette
2018-07-11Relaxed FieldOperation.references_field remote field checking.Simon Charette
2018-07-11Introduced ModelTuple to remove migrations boilerplate.Simon Charette
2018-07-11Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.Simon Charette
2018-07-11Fixed #27768 -- Allowed migration optimization of CreateModel order.Simon Charette
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-06-15Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after R...Jeff
2017-12-30Fixed #25817 -- Made RenameField repoint to_field/to_fields references.Simon Charette
2017-12-30Moved _get_model_tuple() to the base Operation class.Simon Charette
2017-12-28Removed unnecessary trailing commas and spaces in various code.Mariusz Felisiak
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-01Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constr...Tim Graham
2017-11-14Fixed #28795 -- Removed 'not in' checks and used dict.setdefault().Дилян Палаузов
2017-06-30Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent...Simon Charette
2017-06-14Refs #27914 -- Used __qualname__ in model operations' deconstruct().chillaranand
2017-06-01Refs #23968 -- Removed unnecessary lists, generators, and tuple calls.Jon Dufresne
2017-05-01Fixed #28043 -- Prevented AddIndex and RemoveIndex from mutating model state.Ian Foote
2017-02-28Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-17Refs #27666 -- Added ProjectState.reload_models().Markus Holtermann
2017-01-17Fixed #27666 -- Delayed rendering of recursivly related models in migration o...Markus Holtermann
2017-01-10Fixed #27717 -- Allowed migration optimization across AlterModelOptions.Ed Morley
2016-12-10Fixed #27310 -- Stopped rendering apps in RenameModel.state_forwards.Simon Charette
2016-10-04Fixed #27279 -- Fixed a migration performance regression related to RenameMod...Simon Charette
2016-09-28Fixed #27217 -- Fixed crash in CreateModel optimization with models that use ...Tim Graham
2016-08-16Refs #26709 -- Added index name to AddIndex.describe().Akshesh
2016-08-02Refs #26709 -- Replaced Index.get_name() with set_name_with_model().Akshesh
2016-07-28Fixed #26114 -- Fixed AlterModelTable.describe() if db_table is None.premanand lakshmanan
2016-07-07Refs #26709 -- Checked allow_migrate_model() in Add/RemoveIndex operations.Akshesh
2016-07-07Refs #26709 -- Added 'model' argument to SchemaEditor.add/remove_index()Akshesh
2016-07-07Refs #26709 -- Added IndexOperation to avoid code duplication.Akshesh
2016-07-07Refs #26709 -- Required a name for Indexes passed to AddIndex.Akshesh
2016-06-27Fixed #26709 -- Added class-based indexes.Akshesh
2016-06-20Fixed #26643 -- Prevented unnecessary AlterModelManagers operations caused by...Loïc Bistuer
2016-06-06Fixed #26710 -- Made CreateModel.references_model() take app_label into account.Sergey Fedoseev
2016-05-30Fixed #25044 -- Fixed migrations for renaming ManyToManyField's through model.Vytis Banaitis
2016-05-14Removed unused code in AlterField.database_forwards().Tim Graham
2016-04-28Refs #26521 -- Adjusted CreateModel bases validation to account for mixins.Simon Charette