Skip to main content
Needs feedback

Automatically squash data migration in merge session.

Related products:Software Factory

We would like to specify during merging (or, if necessary, during an upgrade) that data migrations should be squashed. Now this has to be done manually after merging a branch, and if forgotten, data could be lost. If this can be specified with a check mark in the merge session, which is on by default, that would be nice. It could also possibly be done at the start of an upgrade, but the preference for us is before the merge session.

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi Bram, the execution of a merge session does do a Squash data migration - in the merge from branch but indeed not in the target branch. We like the idea!

Snippet from the Execute merge session task:

If the merge session is not a revert Merge session, squash data migration

 


Mark Jongeling
Administrator
Forum|alt.badge.img+23
NewOpen

Mark Jongeling
Administrator
Forum|alt.badge.img+23

Hi ​@BramG

We have revised the way data migration is squashed in 2025.1. Now, when you generate your data migration, the squash is automatically done. During the execution of the merge session, source branch data migration is squashed to ensure the mappings are correctly added in the target branch.

After merging, once you start upgrading your application, the data migration is generated and the data migration is squashed, effectively solving your wish. Do you agree with me and can we set the status to Completed?


Mark Jongeling
Administrator
Forum|alt.badge.img+23
OpenNeeds feedback

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi ​@BramG,

Could you please respond to the question Mark asked? Thanks in advance!


Forum|alt.badge.img+4
  • Warrior
  • April 22, 2025

Hi, we haven't upgraded to 2025.1 yet. We have it scheduled for next week. I'll inform you once I've had the opportunity to test it.



Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings