[1.7.x] Fixed #23090: Document and enforce not double-squashing migrations