Opened 3 months ago
Closed 3 months ago
#35719 closed New feature (wontfix)
Add support for optimizemigration to output migration with --check
Reported by: | Adam Johnson | Owned by: | |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
makemigrations --check -v 3
outputs the migration source. Iād like optimizemigration --check -v 3
to do similar, outputting the migration source. This could make it easy to compare what optimization does, especially when optimizing a migration with RunPython
operations.
Note:
See TracTickets
for help on using tickets.
Hi Adam, thank you for the ticket
We recommend when requesting new features they are first discussed on the forum to validate the idea, do you mind opening a discussion and if you receive some positive feedback that others will also find this useful - linking that back here and re-opening the ticket?