changeset 615:087888659ba3

rename PG downgrade script
author Alain Mazy <am@osimis.io>
date Mon, 05 Feb 2024 09:50:24 +0100
parents 61e8cf2d78fd
children a5882a40ccb6
files NewTests/PostgresUpgrades/downgrade.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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