﻿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
24529	Allow double squashing of migrations	Markus Holtermann	Georgi Yanchev	"While #23090 added a safeguard to prevent `squashmigrations` from blowing up when squashing an already squashed migration,  this should be possible in the future to ease transition for 3rd party projects.

It is generally possible to add a squashed migration as a dependency together with its replaced migrations (e.g. have `0001_initial`, `0002_second` and `0001_squashed_0002_second` in the dependency list). An example can be found here: https://github.com/MarkusH/django-ticket-triage/tree/0aac03c597c744909db60772b99c34c99ed7111d/app_a/migrations

The tasks I identified so far are for now:

1. Remove the safeguard
2. When squashing `0001_0002` and `0003`, the squashed migration `0001_0003` doesn't consider the already squashed migration operations and doesn't add them to it's operations list
3. Add squashed migrations to the dependency list"	New feature	closed	Migrations	dev	Normal	fixed		Markus Holtermann Raphael Gaschignard	Ready for checkin	1	0	0	0	0	0
