Opened 3 years ago

Closed 3 years ago

#33572 closed Cleanup/optimization (fixed)

Optimize CreateModel + AlterModelManagers to CreateModel

Reported by: Adam Johnson Owned by: Adam Johnson
Component: Migrations Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

During migration optimization, CreateModel + AlterModelOptions is reduced to just CreateModel, with the model options. Similarly, CreateModel + AlterModelManagers can become just CreateModel.

Change History (3)

comment:1 by Adam Johnson, 3 years ago

Has patch: set

comment:2 by Mariusz Felisiak, 3 years ago

Triage Stage: UnreviewedAccepted

comment:3 by GitHub <noreply@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In 8f7cda08:

Fixed #33572 -- Implemented CreateModel/AlterModelManagers reduction.

Note: See TracTickets for help on using tickets.
Back to Top