Skip to main content
Completed

Include upgrade scripts assigned to version when between upgrade from/to version

Related products:Software Factory
  • Remco Kort
    Remco Kort
  • BramG

At this moment, when you upgrade an accept environment from version 1.61 to 1.66 for example, upgrade scripts that are linked to a specific version between version 1.61 and 1.66 are not included. I think the upgrade scripts that are linked to version 1.64 for example, should be included in the upgrade from 1.61 to 1.66 as well. 

This could be accomplished by assigining the control procedure to after_upgrade_always, but this means that you need to unassign the control procedure after the upgrade, especially when you are using the control procedure template to migrate/convert data from the old structure to a new structure for example.

This is also not the ideal situation when you’re reaching for automatic deployment with an azure pipeline for example.

Did this topic help you find an answer to your question?

4 replies

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

Hi Bram,

In the next version (2023.1), we refactored the way these upgrades work. In this version you will no longer upgrade from a version to a version, but rather upgrade from a point in time to now/current time.

This means that created upgrade scripts will be assigned to a previous (model) version, and will be reused if another database is upgraded from the same version.

In your example, upgrade from 1.61 to 1.64 and upgrade from 1.61 to 1.66 will not be any different in regards of any assigned Upgrade script.

Would that satisfy your wish? 😄


Forum|alt.badge.img+4
  • Author
  • Warrior
  • 37 replies
  • November 3, 2022

Hey Mark,

Yes this sounds like a great solution. We’re very hyped to see the 2023.1 release with the system versioned tables!

 


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

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

Reply


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