Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

From the downloaded distribution, extract the /database/upgrade folder.  This folder includes a number of migration*.sql files which upgrade the FlexDeploy schemas along with Patch Release SQL files.

You will need to execute these scripts from the version of FlexDeploy you currently have, up to the latest version. And they must be executed in that order.  For example, if you are upgrading from FlexDeploy 3.7.1 to FlexDeploy 4.5.0, you will need to execute migration3.7.1_to_4.0.0.sql, then migration4.0.0_to_4.0.1.sql, then migration4.0.1_to_4.0.2.sql, migration4.0.2_to_4.0.3.sql, and migration4.0.3_to_4.5.0.sql. The migration4.0.2_to_4.0.3.sql file includes all of the 403PatchRelease*.sql files in it. Patch Release SQL files are only necessary if you are on a 4.0.3 Patch Release.

Code Block
languagesql
titleUpgrading 3.7.1 to 4.5.0
linenumberstrue
collapsetrue
migration3.7.1_to_4.0.0.sql
migration4.0.0_to_4.0.1.sql
migration4.0.1_to_4.0.2.sql
migration4.0.2_to_4.0.3.sql
migration4.0.3_to_4.5.0.sql



If you are upgrading from a 4.0.3 Patch Release, follow the date based SQL files in sequence by Date. If you have already a applied specific Patch Release patch then skip it. You can make determination of which Patch Release files to run by looking at Build Time on the About window of your FlexDeploy installation. After completing the last 403PatchRelease, run the migration4.0.3_to_4.5.0.sql file. Contact Flexagon support for details if you are not sure. See example below.

...