diff options
Diffstat (limited to 'policy-management/src/main/server-gen/bin/db-migrator')
-rw-r--r-- | policy-management/src/main/server-gen/bin/db-migrator | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/policy-management/src/main/server-gen/bin/db-migrator b/policy-management/src/main/server-gen/bin/db-migrator index 29a50d42..f5029460 100644 --- a/policy-management/src/main/server-gen/bin/db-migrator +++ b/policy-management/src/main/server-gen/bin/db-migrator @@ -1,9 +1,9 @@ #!/bin/bash -# + # ============LICENSE_START======================================================= # ONAP # ================================================================================ -# Copyright (C) 2017, 2019 AT&T Intellectual Property. All rights reserved. +# Copyright (C) 2017-2020 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -52,6 +52,8 @@ # # ##################################################################### +source ${POLICY_HOME}/etc/profile.d/env.sh + METADATA_DB=migration METADATA_TABLE="${METADATA_DB}".metadata_versions MIGRATION_DIR="${POLICY_HOME}"/etc/db/migration |