From c89dda02d8af98cdeb6e4daf3e0186f6bb9371d2 Mon Sep 17 00:00:00 2001 From: Mohan E Date: Tue, 19 Mar 2024 14:04:14 +0530 Subject: [PATCH] [MOSIP-31951] Updated upgrade.sh Signed-off-by: Mohan E --- db_upgrade_scripts/mosip_resident/upgrade.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/db_upgrade_scripts/mosip_resident/upgrade.sh b/db_upgrade_scripts/mosip_resident/upgrade.sh index 638ad02aa4a..216dc394e34 100644 --- a/db_upgrade_scripts/mosip_resident/upgrade.sh +++ b/db_upgrade_scripts/mosip_resident/upgrade.sh @@ -31,7 +31,6 @@ if [ "$ACTION" == "upgrade" ]; then if [ -f "$UPGRADE_SCRIPT_FILE" ]; then echo "Executing upgrade script $UPGRADE_SCRIPT_FILE" PGPASSWORD=$SU_USER_PWD psql -v ON_ERROR_STOP=1 --username=$SU_USER --host=$DB_SERVERIP --port=$DB_PORT --dbname=$DEFAULT_DB_NAME -a -b -f $UPGRADE_SCRIPT_FILE - PGPASSWORD=$SU_USER_PWD psql -v ON_ERROR_STOP=1 -v dbuserpwd="'${DB_USER_PWD}'" --username=$SU_USER --host=$DB_SERVERIP --port=$DB_PORT --dbname=$DEFAULT_DB_NAME -a -b -f $UPGRADE_SCRIPT_FILE else echo "Upgrade script not found, exiting." exit 1