Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/SQLiteDatabaseWrapper.h @ 5084:9770d537880d attach-custom-data
added support for revision in SQLite + avoid upgrading DB version
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 15 Sep 2022 09:02:07 +0200 |
parents | 75e949689c08 |
children |
comparison
equal
deleted
inserted
replaced
5083:75e949689c08 | 5084:9770d537880d |
---|---|
92 virtual void Upgrade(unsigned int targetVersion, | 92 virtual void Upgrade(unsigned int targetVersion, |
93 IStorageArea& storageArea) ORTHANC_OVERRIDE; | 93 IStorageArea& storageArea) ORTHANC_OVERRIDE; |
94 | 94 |
95 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE | 95 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE |
96 { | 96 { |
97 return false; // TODO - REVISIONS | 97 return true; |
98 } | 98 } |
99 | 99 |
100 virtual bool HasAttachmentCustomDataSupport() const ORTHANC_OVERRIDE | 100 virtual bool HasAttachmentCustomDataSupport() const ORTHANC_OVERRIDE |
101 { | 101 { |
102 return true; | 102 return true; |