From 095c1aaa898bed40568009db836aa8434f1b983d Mon Sep 17 00:00:00 2001 From: Simon Charette Date: Sun, 26 Nov 2017 22:39:43 -0500 Subject: Fixed #28849 -- Fixed referenced table and column rename on SQLite. Thanks Ramiro for the input and Tim for the review. --- docs/releases/2.0.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs') 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 ------------- -- cgit v1.3