#34534: Migration operation optimisations
-------------------------------------+-------------------------------------
               Reporter:  David      |          Owner:  nobody
  Sanders                            |
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:  Database   |        Version:  dev
  layer (models, ORM)                |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 From https://github.com/django/django/pull/16819#issuecomment-1529913703

  - RenameIndex can be reduced into CreateIndex
  - DropConstraint can be reduced into CreateConstraint
  - A question was raised whether constraints could be reduced into create
 model though some databases do not support deferrable constraints (eg
 MySQL)
  - It's worth going over the operations to see if there are any other
 potential reductions to add

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34534>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/01070187e190827b-6b1d4309-00ba-4705-91e9-386bebdfb7c2-000000%40eu-central-1.amazonses.com.

Reply via email to