Changes between Initial Version and Version 2 of Ticket #34534


Ignore:
Timestamp:
May 3, 2023, 7:31:06 AM (14 months ago)
Author:
Mariusz Felisiak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34534

    • Property Component Database layer (models, ORM)Migrations
    • Property Easy pickings unset
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Migration operation optimisationsReduce index/constraints operations.
  • Ticket #34534 – Description

    initial v2  
    11From https://github.com/django/django/pull/16819#issuecomment-1529913703
    22
    3  - RenameIndex can be reduced into CreateIndex
    4  - DropConstraint can be reduced into CreateConstraint
     3 - `RenameIndex` can be reduced into `AddIndex`
     4 - `DropConstraint` can be reduced with `AddConstraint`
    55 - A question was raised whether constraints could be reduced into create model though some databases do not support deferrable constraints (eg MySQL)
    66 - It's worth going over the operations to see if there are any other potential reductions to add
Back to Top