Versions Compared

Key

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

...

Warning

FlexDeploy 5.1 migration includes updates to Unique Constraint for FF.DB_PROPERTIES_DATA. If you have duplicates then it needs to be fixed up prior to starting migration. Run following SQL to check if there are any duplicates. If there are duplicates, work with Flexagon support team to resolve prior to migration.

Code Block
languagesql
themeRDark
SELECT * FROM (SELECT DB_PROPERTIES_ID, SEQUENCE_NUMBER, COUNT(1) NUMROWS
FROM FF.DB_PROPERTIES_DATA 
GROUP BY DB_PROPERTIES_ID, SEQUENCE_NUMBER) 
WHERE NUMROWS>1;


You will need to execute these scripts one or more SQL script(s) from the version of FlexDeploy you currently have, up to the latest version. And they must be executed in that order.

...

If you are upgrading from 4.6.0.0 or higher then you can just look at Build Version in About window and use that information to derive SQL files to be executed.

...

.

...

Follow this guideline when deriving SQL Patches files to be appliedexecuted.

Info

Current version is 4.6.0.0 or higher

  • Look at Build Version in About window.

Current version is before 4.6.0.0

  • You can find which files that you may have already executed by doing "select version, created_on, created_by from fd.fd_flexdeploy_version order by created_on desc" database query.
  • Or you can view list of patches by using Administration - FlexDeploy Patches in FlexDeploy.

...

Code Block
languagesql
titleUpgrading 4.0 to 5.0.0.0
linenumberstrue
collapsetrue
v4.0-to-v4.0.1/migration.sql
v4.0.1-to-v4.0.2/migration.sql
v4.0.2-to-v4.0.3/migration.sql
v4.0.3-to-v4.5.0/migration.sql
v4.5.0-to-v4.6.0.0/migration.sql
v4.6.0.0-to-4.6.1v5.0/migration.sql 
v4.6.1.0-to-4.6.2.0/migration.sql

v4.6.2.0-to-4.6.3.0/migration.sql 
v4.6.3v5.0.0.0-to-5v5.01.0.0/migration.sql

The 4.0.2-to-4.0.3/migration.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 or 4.5.x Release.

...

Code Block
languagesql
titleUpgrading 4.0.3 (build time 4/23/2017 or earlier) to 5.0.0.0
linenumberstrue
collapsetrue
v4.0.2-to-v4.0.3/403PatchRelease_04-24-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_05-01-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_05-5-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_05-11-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_05-22-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_06-14-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_07-19-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_07-24-2017.sql
v4.0.3-to-v4.5.0/migration.sql
v4.5.0-to-v4.6.0.0/migration.sql
v4.5.6.0.0-to-v5.0.0.0/migration.sql
v5.0.0.0-to-v4v5.61.0.0/migration.sql


Code Block
languagesql
titleUpgrading 4.0.3 (build time 5/11/2017) to 5.0.0.0
linenumberstrue
collapsetrue
v4.0.2-to-v4.0.3/403PatchRelease_05-22-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_06-14-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_07-19-2017.sql
v4.0.2-to-v4.0.3/403PatchRelease_07-24-2017.sql
v4.0.3-to-v4.5.0/migration.sql
v4.5.0-to-v4.6.0.0/migration.sql
v4.5.6.0.0-to-v5.0.0.0/migration.sql
v5.0.0.0-to-v4v5.61.0.0/migration.sql


Code Block
languagesql
titleUpgrading 4.5.1 Patch Release 11-27-2017 to 5.0.0.0
linenumberstrue
collapsetrue
v4.0.3-to-v4.5.0/450PatchRelease_12-09-2017.sql
v4.0.3-to-v4.5.0/450PatchRelease_01-12-2018.sql
v4.0.3-to-v4.5.0/450PatchRelease_01-30-2018.sql
v4.5.0-to-v4.6.0.0/migration.sql
v4.6.0.0-to-v5.0.0.0/migration.sql
v5.0.0.0-to-v5.1.0.0/migration.sq

Executing migration files

...