Mercurial > hg > orthanc-tests
changeset 782:1d5f89f6b700 attach-custom-data
fix
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 04 Feb 2025 17:59:45 +0100 |
parents | ff1ab89bc1c0 |
children | d08518883f2f |
files | NewTests/Concurrency/docker-compose-transfers-concurrency.yml NewTests/PostgresUpgrades/docker-compose.yml NewTests/PostgresUpgrades/downgrade.sh NewTests/requirements.txt |
diffstat | 4 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/Concurrency/docker-compose-transfers-concurrency.yml Tue Feb 04 17:33:21 2025 +0100 +++ b/NewTests/Concurrency/docker-compose-transfers-concurrency.yml Tue Feb 04 17:59:45 2025 +0100 @@ -1,4 +1,3 @@ -version: "3" services: orthanc-pg-a:
--- a/NewTests/PostgresUpgrades/docker-compose.yml Tue Feb 04 17:33:21 2025 +0100 +++ b/NewTests/PostgresUpgrades/docker-compose.yml Tue Feb 04 17:59:45 2025 +0100 @@ -1,4 +1,3 @@ -version: "3" services: # Orthanc with PG plugin v2
--- a/NewTests/PostgresUpgrades/downgrade.sh Tue Feb 04 17:33:21 2025 +0100 +++ b/NewTests/PostgresUpgrades/downgrade.sh Tue Feb 04 17:59:45 2025 +0100 @@ -4,11 +4,11 @@ apt-get update && apt-get install -y wget mercurial hg clone https://orthanc.uclouvain.be/hg/orthanc-databases +# TODO: change attach-custom-data by the plugin version number or "default" ! pushd orthanc-databases -# TODO: change attach-custom-data by the plugin version number or "default" ! hg update -r attach-custom-data + psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev4ToRev3.sql -psql -U postgres -f /scripts/orthanc-databases/PostgreSQL/Plugins/SQL/Downgrades/Rev3ToRev2.sql # if you want to test a downgrade procedure, you may use this code ... # psql -U postgres -f downgrade.sql