# HG changeset patch # User Alain Mazy # Date 1749047307 -7200 # Node ID b4ac775869b28bcdcaa4f46cca94df14e4105a0f # Parent b9add37f090e62b5c0a3edcafc6846d550d15dec fix diff -r b9add37f090e -r b4ac775869b2 NewTests/PostgresUpgrades/downgrade.sh --- a/NewTests/PostgresUpgrades/downgrade.sh Mon Jun 02 21:52:01 2025 +0200 +++ b/NewTests/PostgresUpgrades/downgrade.sh Wed Jun 04 16:28:27 2025 +0200 @@ -4,9 +4,11 @@ apt-get update && apt-get install -y wget mercurial hg clone https://orthanc.uclouvain.be/hg/orthanc-databases +pushd /scripts/orthanc-databases/ hg update -r default psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev4ToRev3.sql # if you want to test a downgrade procedure, you may use this code ... # psql -U postgres -f downgrade.sql popd +popd