Mercurial > hg > orthanc-tests
changeset 741:d21ff981e7a1
fix forbidden access to file on mercurial server
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Fri, 15 Nov 2024 09:39:01 +0100 |
parents | 70757a14b42e |
children | 09d3e251b783 |
files | NewTests/PostgresUpgrades/downgrade.sh |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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