Mercurial > hg > orthanc-databases
diff MySQL/Plugins/MySQLIndex.h @ 366:cd9521e04249 attach-custom-data
DatabaseBackendAdapterV4: added support for customData + revision when not already done
author | Alain Mazy <am@osimis.io> |
---|---|
date | Thu, 15 Sep 2022 18:12:34 +0200 |
parents | 793bbbe11287 |
children | f18e46d7dbf8 |
line wrap: on
line diff
--- a/MySQL/Plugins/MySQLIndex.h Tue Jul 05 08:44:26 2022 +0200 +++ b/MySQL/Plugins/MySQLIndex.h Thu Sep 15 18:12:34 2022 +0200 @@ -47,7 +47,12 @@ virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE { - return false; // TODO - REVISIONS + return true; + } + + virtual bool HasAttachmentCustomDataSupport() const ORTHANC_OVERRIDE + { + return true; } virtual int64_t CreateResource(DatabaseManager& manager,