#36166: Backwards migration to replaced migration leads to
InconsistentMigrationHistory on forward migrate
------------------------------------+------------------------------------
     Reporter:  Klaas van Schelven  |                    Owner:  (none)
         Type:  Bug                 |                   Status:  new
    Component:  Migrations          |                  Version:  5.1
     Severity:  Normal              |               Resolution:
     Keywords:                      |             Triage Stage:  Accepted
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+------------------------------------
Comment (by VIZZARD-X):

 I have submitted a PR that patches `MigrationLoader` to explicitly add
 these dependency links when a replacement node is encountered in the
 graph. I have also added a regression test in
 `tests/migrations/test_loader.py`.
 PR: https://github.com/django/django/pull/20490
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36166#comment:4>
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019b84848d0d-6bf17082-3988-47df-abbd-d9f9a5004408-000000%40eu-central-1.amazonses.com.

Reply via email to