﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27844	Add a management command to run the optimizer on a single migration	Raphael Gaschignard	nobody	"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.

 The attached patch contains an implementation of a management command, {{{optimizemigration}}}, that will help speed up this process.

{{{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."	New feature	assigned	Migrations	dev	Normal				Unreviewed	1	0	0	0	0	0
