diff options
author | ktimoney <kevin.timoney@est.tech> | 2021-08-23 15:07:18 +0100 |
---|---|---|
committer | ktimoney <kevin.timoney@est.tech> | 2021-08-23 15:07:39 +0100 |
commit | dbbfd469b1003a44f9ebf85fbdaebd41cc6413b3 (patch) | |
tree | dacb41a027280e390f48eab1a9b053a6c47c964d | |
parent | 22cc75eb4b868bc768c8680802131931912acadd (diff) |
Update METADATA table names for policy/docker db-migrator
METADATA tables for policy/docker db-migrator should be different than counterpart in policy/drools-pdp seed
Issue-ID: POLICY-3547
Change-Id: Ie0c6ebf286ed410433014106425626cee55f222e
Signed-off-by: ktimoney <kevin.timoney@est.tech>
-rwxr-xr-x | policy-db-migrator/src/main/docker/db-migrator | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/policy-db-migrator/src/main/docker/db-migrator b/policy-db-migrator/src/main/docker/db-migrator index 1d3fe4a3..dd29dfaa 100755 --- a/policy-db-migrator/src/main/docker/db-migrator +++ b/policy-db-migrator/src/main/docker/db-migrator @@ -55,7 +55,7 @@ source ${POLICY_HOME}/etc/profile.d/env.sh METADATA_DB=migration -METADATA_TABLE=${METADATA_DB}.db_metadata_versions +METADATA_TABLE=${METADATA_DB}.schema_versions MIGRATION_DIR=${POLICY_HOME}/etc/db/migration ZERO_VERSION="0" BASE_VERSION="0800" @@ -700,7 +700,7 @@ for dbPath in ${SCHEMA_S}; do SCHEMA_DB="\`${SCHEMA}\`" UPGRADE_DIR="${MIGRATION_DIR}"/"${SCHEMA}"/sql DOWNGRADE_DIR=${UPGRADE_DIR} - METADATA_HISTORY="${METADATA_DB}.\`${SCHEMA}_change_history\`" + METADATA_HISTORY="${METADATA_DB}.\`${SCHEMA}_schema_changelog\`" TARGET_RELEASE=${INPUT_TARGET_RELEASE} if is_upgrade && is_downgrade; then |