Skip to content

Commit

Permalink
Merge pull request #1217 from Mohanraj209/release-1.2.0.1
Browse files Browse the repository at this point in the history
[MOSIP-31951] Updated upgrade.sh
  • Loading branch information
ckm007 authored Mar 19, 2024
2 parents 5a2f179 + c89dda0 commit e98f241
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion db_upgrade_scripts/mosip_resident/upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e98f241

Please sign in to comment.