# HG changeset patch # User Alain Mazy # Date 1707123024 -3600 # Node ID 087888659ba3846dc8b01c808797966bb6484d68 # Parent 61e8cf2d78fd5577995c3c6ade3acd0d809fdac5 rename PG downgrade script diff -r 61e8cf2d78fd -r 087888659ba3 NewTests/PostgresUpgrades/downgrade.sh --- a/NewTests/PostgresUpgrades/downgrade.sh Thu Feb 01 11:44:53 2024 +0100 +++ b/NewTests/PostgresUpgrades/downgrade.sh Mon Feb 05 09:50:24 2024 +0100 @@ -3,8 +3,8 @@ 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/pg-transactions/PostgreSQL/Plugins/SQL/Downgrades/V6.2ToV6.1.sql -psql -U postgres -f V6.2ToV6.1.sql +apt-get update && apt-get install -y wget && wget https://orthanc.uclouvain.be/hg/orthanc-databases/raw-file/tip/PostgreSQL/Plugins/SQL/Downgrades/Rev2ToRev1.sql +psql -U postgres -f Rev2ToRev1.sql # if you want to test a downgrade procedure, you may use this code ... # psql -U postgres -f downgrade.sql