aboutsummaryrefslogtreecommitdiffstats
path: root/policy-db-migrator
diff options
context:
space:
mode:
Diffstat (limited to 'policy-db-migrator')
-rwxr-xr-xpolicy-db-migrator/src/main/docker/db-migrator4
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