# HG changeset patch # User Alain Mazy # Date 1731659941 -3600 # Node ID d21ff981e7a11d9d1a1b4af76ea5ccb2c24e49cc # Parent 70757a14b42ebac8136fedb814fad44d41ef3540 fix forbidden access to file on mercurial server diff -r 70757a14b42e -r d21ff981e7a1 NewTests/PostgresUpgrades/downgrade.sh --- a/NewTests/PostgresUpgrades/downgrade.sh Tue Oct 22 09:57:49 2024 +0200 +++ b/NewTests/PostgresUpgrades/downgrade.sh Fri Nov 15 09:39:01 2024 +0100 @@ -2,9 +2,9 @@ pushd /scripts -# TODO: change pg-transactions by the plugin version number ! -apt-get update && apt-get install -y wget && wget https://orthanc.uclouvain.be/hg/orthanc-databases/raw-file/default/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql -psql -U postgres -f Rev2ToRev1.sql +apt-get update && apt-get install -y wget mercurial +hg clone https://orthanc.uclouvain.be/hg/orthanc-databases +psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql # if you want to test a downgrade procedure, you may use this code ... # psql -U postgres -f downgrade.sql