[Django] #34528: Reduce Add/RemoveIndex migration operations.

9 views
Skip to first unread message

Django

unread,
May 1, 2023, 11:06:45 AM5/1/23
to django-...@googlegroups.com
#34528: Reduce Add/RemoveIndex migration operations.
-------------------------------------+-------------------------------------
Reporter: Mariusz | Owner: Mariusz Felisiak
Felisiak |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 4.2
Migrations |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
We should reduce `AddIndex`/`RemoveIndex` operations when optimizing
migration operations.

--
Ticket URL: <https://code.djangoproject.com/ticket/34528>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 1, 2023, 11:20:25 AM5/1/23
to django-...@googlegroups.com
#34528: Reduce Add/RemoveIndex migration operations.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
Type: | Felisiak
Cleanup/optimization | Status: assigned
Component: Migrations | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/16819 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34528#comment:1>

Django

unread,
May 1, 2023, 11:40:47 AM5/1/23
to django-...@googlegroups.com
#34528: Reduce Add/RemoveIndex migration operations.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
Type: | Felisiak
Cleanup/optimization | Status: assigned
Component: Migrations | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

* stage: Unreviewed => Accepted


Comment:

I should have time to review it by EoD

--
Ticket URL: <https://code.djangoproject.com/ticket/34528#comment:2>

Django

unread,
May 1, 2023, 12:57:38 PM5/1/23
to django-...@googlegroups.com
#34528: Reduce Add/RemoveIndex migration operations.
-------------------------------------+-------------------------------------
Reporter: Mariusz Felisiak | Owner: Mariusz
Type: | Felisiak
Cleanup/optimization | Status: closed
Component: Migrations | Version: 4.2
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"191f6a9a4586b5e5f79f4f42f190e7ad4bbacc84" 191f6a9]:
{{{
#!CommitTicketReference repository=""
revision="191f6a9a4586b5e5f79f4f42f190e7ad4bbacc84"
Fixed #34528 -- Reduced Add/RemoveIndex operations when optimizing
migrations.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34528#comment:3>

Reply all
Reply to author
Forward
0 new messages