diff options
| author | Simon Charette <charette.s@gmail.com> | 2017-11-26 22:39:43 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2017-12-01 22:15:48 -0500 |
| commit | 31d318d19c90ed1dcc441b6b87a1f82dc2fc2d28 (patch) | |
| tree | 7a79c736cc691fdaa3adc78f4f6dac6de45331c6 /docs | |
| parent | 50b35eef0b55a796bf936aaef83f11e18fdadace (diff) | |
[2.0.x] Fixed #28849 -- Fixed referenced table and column rename on SQLite.
Thanks Ramiro for the input and Tim for the review.
Backport of 095c1aaa898bed40568009db836aa8434f1b983d from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.0.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/releases/2.0.txt b/docs/releases/2.0.txt index 904597a033..34068a7a05 100644 --- a/docs/releases/2.0.txt +++ b/docs/releases/2.0.txt @@ -534,6 +534,13 @@ rebuild tables using a script similar to this:: This script hasn't received extensive testing and needs adaption for various cases such as multiple databases. Feel free to contribute improvements. +In addition, because of a table alteration limitation of SQLite, it's prohibited +to perform :class:`~django.db.migrations.operations.RenameModel` and +:class:`~django.db.migrations.operations.RenameField` operations on models or +fields referenced by other models in a transaction. In order to allow migrations +containing these operations to be applied, you must set the +``Migration.atomic`` attribute to ``False``. + Miscellaneous ------------- |
