Changes between Initial Version and Version 1 of Ticket #27844


Ignore:
Timestamp:
02/15/2017 09:48:43 AM (22 months ago)
Author:
Raphael Gaschignard
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27844 – Description

    initial v1  
    11Because 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.
    22
    3  The attached patch contains an implementation of a management command, {{{optimizemigration}}}, that will help speed up this process.
     3The attached patch contains an implementation of a management command, {{{optimizemigration}}}, that will help speed up this process.
    44
    55{{{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.
Back to Top