Changes between Initial Version and Version 1 of Ticket #27844
- Timestamp:
- Feb 15, 2017, 9:48:43 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27844 – Description
initial v1 1 1 Because the migration optimizer still has a bit of trouble with reducing operations, you often want to edit squashed migrations and re-run it through the optimizer. 2 2 3 3 The attached patch contains an implementation of a management command, {{{optimizemigration}}}, that will help speed up this process. 4 4 5 5 {{{optimizemigration app_name migration_name}}} reads a single migration, pass it through the optimizer, and then rewrite the result to disk. Unlike {{{squashmigrations}}}, this ignores things like the squashed-ness of the migration.