#31106: Adding foreign keys and instances in the same migration crashes on
PostgreSQL 10+.
-------------------------------------+-------------------------------------
     Reporter:  Janne Rönkkö         |                    Owner:  felixxm
         Type:  Bug                  |                   Status:  closed
    Component:  Migrations           |                  Version:  3.0
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:  postgresql           |             Triage Stage:  Accepted
  migrations                         |
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"0f8041abd5bf0977d28b676445d35a81c6b7b5de" 0f8041a]:
 {{{
 #!CommitTicketReference repository=""
 revision="0f8041abd5bf0977d28b676445d35a81c6b7b5de"
 [3.0.x] Fixed #31106 -- Fixed migrations crash on PostgreSQL 10+ when
 adding FK constraints inline and changing data.

 This allows adding foreign key constraints inline and changing data in
 the same migration on PostgreSQL 10+.

 Regression in 738faf9da2a5cd03148a36375db80746c99c9623.

 Thanks Janne Rönkkö for the report and Simon Charette for the
 implementation idea and review.
 Backport of 22ce5d0031bd795ade081394043833e82046016c from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31106#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4f579a5fc0307c8fe53016e18ff36f31%40djangoproject.com.

Reply via email to