#35508: Add an --ignore-deps flag to squashmigrations
-------------------------------------+-------------------------------------
     Reporter:  Shai Berger          |                    Owner:  Clinton
                                     |  Christian
         Type:  New feature          |                   Status:  assigned
    Component:  Migrations           |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:  squash               |             Triage Stage:  Accepted
  squashmigrations                   |
    Has patch:  1                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Shai Berger):

 Thinking more about that deferral-of-relations issue:

 I think the operations and parameters that are filtered out should be
 recorded, as comments, in the migration file. I suspect in many cases,
 later operations -- e.g. {{{RunPython}} -- will rely on the results of the
 deferred operations, and if there's no record of their removal in the
 migration file, the errors will be quite difficult to debug.

 This requires some support in the migration-writing machinery.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35508#comment:7>
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/0107019da5f0f85e-251ea056-fef2-4f75-9948-84fc24ffbc78-000000%40eu-central-1.amazonses.com.

Reply via email to