changeset 499:0974a58fdc76

Fix updates from version plugin version 3.3 to latest version
author Alain Mazy <am@osimis.io>
date Mon, 08 Apr 2024 10:09:40 +0200
parents 832a902770ba
children c27071770c04
files PostgreSQL/NEWS PostgreSQL/Plugins/PostgreSQLIndex.cpp
diffstat 2 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/PostgreSQL/NEWS	Sat Apr 06 17:11:46 2024 +0200
+++ b/PostgreSQL/NEWS	Mon Apr 08 10:09:40 2024 +0200
@@ -1,8 +1,18 @@
+Pending changes in the mainline
+===============================
+
+DB schema revision: 2
+Minimum plugin SDK (for build): 1.12.3
+Minimum Orthanc runtime: 1.12.3
+
+* Fix updates from version plugin version 3.3 to latest version
+
+
 Release 6.2 (2024-03-25)
 ========================
 
 DB schema revision: 2
-Minimum plugin SDK: 1.12.3
+Minimum plugin SDK (for build): 1.12.3
 Minimum Orthanc runtime: 1.12.3
 
 * Fix check of Orthanc runtime version
--- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp	Sat Apr 06 17:11:46 2024 +0200
+++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp	Mon Apr 08 10:09:40 2024 +0200
@@ -146,6 +146,8 @@
           }
           else if (revision == 1)
           {
+            LOG(WARNING) << "DatabasePatchLevel is 1";
+            needToRunUpgradeFromUnknownToV1 = true;
             needToRunUpgradeV1toV2 = true;
           }