# HG changeset patch # User Alain Mazy # Date 1750076501 -7200 # Node ID 7c3fce850fc60b763acb70451be67f8484d4596f # Parent 42bd85717370feb9ede74a9e9ab27670ad8b0592 fix pg diff -r 42bd85717370 -r 7c3fce850fc6 NewTests/PostgresUpgrades/downgrade.sh --- 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