summaryrefslogtreecommitdiff
path: root/django/db/migrations/operations/fields.py
Commit message (Expand)AuthorAgeFilesLines
* Fixed #34366 -- Reduced AlterField operations when optimizing migrations.Laurent Tramoy2023-02-241-3/+3
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-72/+84
* Fixed #33197 -- Made field rename with prior matching db_column change a noop.Simon Charette2021-10-191-1/+5
* Refs #29898 -- Moved state_forwards()'s logic from migration operations to Pr...manav0142021-06-291-79/+16
* Refs #29898 -- Moved django.db.migrations.operations.utils to django.db.migra...manav0142021-06-221-1/+3
* Fixed #32256 -- Fixed migration optimization crash when swapping field names.Hasan Ramezani2021-02-191-2/+5
* Fixed #31468 -- Allowed specifying migration filename in Operation.Adam Johnson2020-05-281-0/+20
* Fixed #31499 -- Stored ModelState.fields into a dict.Simon Charette2020-04-221-23/+13
* Refs #28305 -- Consolidated field referencing detection in migrations.Simon Charette2020-04-101-46/+32
* Replaced ModelTuple by a model resolving function and bare tuples.Simon Charette2020-04-091-6/+8
* Replaced Operation._get_model_tuple() by ModelTuple.from_model().Simon Charette2020-04-091-1/+1
* Made Operation.references_model/references_field require app_label.Simon Charette2020-04-091-4/+4
* Refs #22608 -- Made app_label required when optimizing migrations.Simon Charette2020-04-091-10/+10
* Refs #29000 -- Restored delayed model rendering of RenameField.Simon Charette2020-04-071-7/+6
* Simplified imports from django.db and django.contrib.gis.db.Nick Pope2020-02-041-1/+1
* Removed in_between from Operation.reduce()'s signature.Simon Charette2018-07-111-10/+10
* Allowed RemoveField operations to be optimized through.Simon Charette2018-07-111-7/+2
* Relaxed FieldOperation.references_field remote field checking.Simon Charette2018-07-111-0/+27
* Introduced ModelTuple to remove migrations boilerplate.Simon Charette2018-07-111-35/+6
* Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.Simon Charette2018-07-111-18/+43
* Fixed #27768 -- Allowed migration optimization of CreateModel order.Simon Charette2018-07-111-2/+17
* Fixed #29000 -- Fixed RenameModel's renaming of a M2M column when run after R...Jeff2018-06-151-6/+7
* Fixed #25817 -- Made RenameField repoint to_field/to_fields references.Simon Charette2017-12-301-3/+29
* Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constr...Tim Graham2017-12-011-4/+13
* Fixed #28350 -- Fixed UnboundLocalError crash in RenameField with nonexistent...Simon Charette2017-06-301-11/+14
* Refs #27656 -- Updated django.db docstring verbs according to PEP 257.Anton Samarchyan2017-02-281-10/+5
* Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand2017-01-251-6/+6
* Refs #23919 -- Removed encoding preambles and future importsClaude Paroz2017-01-181-2/+0
* Fixed #27666 -- Delayed rendering of recursivly related models in migration o...Markus Holtermann2017-01-171-4/+21
* Removed unused code in AlterField.database_forwards().Tim Graham2016-05-141-9/+0
* Fixed #26316 -- Factored duplicated code in model/field migration operations.Akshesh2016-03-031-21/+6
* Fixed #24109 -- Allowed RunSQL and RunPython operations to be elided.Simon Charette2016-01-231-2/+10
* Fixed #26064 -- Moved operation reduction logic to their own class.Simon Charette2016-01-231-42/+80
* Renamed Field.rel attribute to remote_fieldAnssi Kääriäinen2015-03-251-5/+5
* Fixed #24351, #24346 -- Changed the signature of allow_migrate().Loic Bistuer2015-02-201-7/+7
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-0/+1
* Refs #22608 -- Optimized migration optimizer and migrate by caching calls to ...Ulrich Petri2015-01-071-21/+60
* Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon2015-01-061-10/+10
* Fixed #23745 -- Reused states as much as possible in migrationsClaude Paroz2015-01-021-0/+4
* Replaced migration state render() by apps cached propertyClaude Paroz2015-01-021-12/+12
* Fixed #23894 -- Made deconstruct methods favor kwargs over argsMarkus Holtermann2014-11-281-8/+25
* Revert "Fixed #23892 -- Made deconstructible classes forwards compatible"Carl Meyer2014-11-221-4/+4
* Fixed #23892 -- Made deconstructible classes forwards compatibleCarl Meyer2014-11-221-4/+4
* Fixed #23844 -- Used topological sort for migration operation dependency reso...Patryk Zawadzki2014-11-201-16/+34
* Fixed #23859 -- Fixed a migration crash when a field is renamed that is part ...Markus Holtermann2014-11-171-6/+7
* Avoided unneeded calls to state.render() in migrations.twidi2014-11-171-5/+5
* Limited lines to 119 characters in django/{contrib,db}.Berker Peksag2014-10-291-1/+2
* Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column in...Markus Holtermann2014-10-091-2/+12
* Fixed #23244: Error altering FK to non-FK in migrationsAndrew Godwin2014-08-071-1/+1
* Fixed #23014: Renaming not atomic with unique togetherAndrew Godwin2014-07-211-0/+8