Skip to content

Commit

Permalink
Fixed #25168 -- Documented how to avoid foreign key constraint error …
Browse files Browse the repository at this point in the history
…after upgrading to 1.8.
  • Loading branch information
timgraham committed Jul 31, 2015
1 parent 5d0961f commit 70912e1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/releases/1.8.txt
Expand Up @@ -1169,6 +1169,12 @@ Miscellaneous
automatically faked if all tables created in an initial migration already
existed.

* An app *without* migrations with a ``ForeignKey`` to an app *with* migrations
may now result in a foreign key constraint error when migrating the database
or running tests. In Django 1.7, this could fail silently and result in a
missing constraint. To resolve the error, add migrations to the app without
them.

.. _deprecated-features-1.8:

Features deprecated in 1.8
Expand Down

0 comments on commit 70912e1

Please sign in to comment.