﻿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
27004	InconsistentMigrationHistory has false positives with squashed migrations	Jarek Glowacki	nobody	"
{{{
a -> b -> c

a_sq_b
}}}

Migrations `a`, `b`, `c` applied. `a_sq_b` not.
When graph is built, since `a` and `b` are applied, `a_sq_b` replaces them and becomes `c`'s dependency. However this means that `a_sq_b` is unapplied while `c` is. This results in an InconsistentMigrationHistory error when you try to run migrations...

Looks like the results of #25850.

Unless I'm mistaken this seems like quite a critical error.."	Bug	closed	Migrations	1.10	Release blocker	fixed	InconsistentMigrationHistory squashed migrate		Accepted	1	0	0	0	0	0
