Mercurial > hg > orthanc-databases
changeset 600:2fd6be965fcc find-refactoring
fix schema check in readonly
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Wed, 04 Dec 2024 17:08:41 +0100 |
parents | cda99cc96843 |
children | c17022c1fa29 |
files | PostgreSQL/Plugins/PostgreSQLIndex.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/PostgreSQL/Plugins/PostgreSQLIndex.cpp Thu Nov 28 12:42:36 2024 +0100 +++ b/PostgreSQL/Plugins/PostgreSQLIndex.cpp Wed Dec 04 17:08:41 2024 +0100 @@ -248,7 +248,7 @@ // test if the latest "extension" has been installed int revision; if (!LookupGlobalIntegerProperty(revision, manager, MISSING_SERVER_IDENTIFIER, Orthanc::GlobalProperty_DatabasePatchLevel) - || revision != 2) + || revision != 3) { LOG(ERROR) << "READ-ONLY SYSTEM: the DB does not have the correct schema to run with this version of the plugin"; throw Orthanc::OrthancException(Orthanc::ErrorCode_Database);