Mercurial > hg > orthanc-tests
changeset 828:b4ac775869b2
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 04 Jun 2025 16:28:27 +0200 |
parents | b9add37f090e |
children | ba3295716819 78c81c902938 |
files | NewTests/PostgresUpgrades/downgrade.sh |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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