Add mapping for migration squashing

Part of implementing https://www.openproject.org/issues/2340