Mercurial > hg > orthanc-tests
changeset 835:7c3fce850fc6 default tip
fix pg
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Mon, 16 Jun 2025 14:21:41 +0200 (30 hours ago) |
parents | 42bd85717370 |
children | |
files | NewTests/PostgresUpgrades/downgrade.sh |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/PostgresUpgrades/downgrade.sh Mon Jun 16 13:03:23 2025 +0200 +++ b/NewTests/PostgresUpgrades/downgrade.sh Mon Jun 16 14:21:41 2025 +0200 @@ -6,11 +6,9 @@ hg clone https://orthanc.uclouvain.be/hg/orthanc-databases pushd orthanc-databases -# TODO: change attach-custom-data by the plugin version number or "default" ! -hg update -r attach-custom-data +hg update -r default psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev5ToRev4.sql -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