﻿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
24828	AlterUniqueTogether prevents squashmigrations optimizations	Piotr Maliński	Markus Holtermann	I have a model that has a AlterUniqueTogether so in initial migration after CreateModel there was a AlterUniqueTogether operation. After that I got some migrations that add/alter/remove some fields to that model (but not those in AlterUniqueTogether). squashmigrations couldn't optimize those additional operations into one CreateModel operation. When I moved AlterUniqueTogether to the end of the squash operations list and resquashed then it did that. (Django 1.8.1)	Cleanup/optimization	closed	Migrations	dev	Normal	fixed			Ready for checkin	1	0	0	0	0	0
