Changes between Initial Version and Version 2 of Ticket #34534
- Timestamp:
- May 3, 2023, 7:31:06 AM (19 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34534
- Property Component Database layer (models, ORM) → Migrations
- Property Easy pickings unset
- Property Triage Stage Unreviewed → Accepted
- Property Summary Migration operation optimisations → Reduce index/constraints operations.
-
Ticket #34534 – Description
initial v2 1 1 From https://github.com/django/django/pull/16819#issuecomment-1529913703 2 2 3 - RenameIndex can be reduced into CreateIndex4 - DropConstraint can be reduced into CreateConstraint3 - `RenameIndex` can be reduced into `AddIndex` 4 - `DropConstraint` can be reduced with `AddConstraint` 5 5 - A question was raised whether constraints could be reduced into create model though some databases do not support deferrable constraints (eg MySQL) 6 6 - It's worth going over the operations to see if there are any other potential reductions to add