From 537a16c1e72b63b336a0524d622c00ba6af912d9 Mon Sep 17 00:00:00 2001
From: Timm Fitschen <t.fitschen@indiscale.com>
Date: Mon, 8 Nov 2021 16:28:36 +0100
Subject: [PATCH] EHN: add INTEGRITY_VIOLATION as MessageCode

---
 include/caosdb/message_code.h | 2 ++
 proto                         | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/caosdb/message_code.h b/include/caosdb/message_code.h
index f595995..795d2fb 100644
--- a/include/caosdb/message_code.h
+++ b/include/caosdb/message_code.h
@@ -100,6 +100,7 @@ enum MessageCode {
   _MAP_MESSAGE_CODE(PROPERTY_WITH_DESCRIPTION_OVERRIDE),
   _MAP_MESSAGE_CODE(PROPERTY_WITH_NAME_OVERRIDE),
   _MAP_MESSAGE_CODE(INTEGER_VALUE_OUT_OF_RANGE),
+  _MAP_MESSAGE_CODE(INTEGRITY_VIOLOATION),
 };
 
 [[nodiscard]] inline auto get_message_code(int code) noexcept -> MessageCode {
@@ -163,6 +164,7 @@ enum MessageCode {
     MessageCode::PROPERTY_WITH_DESCRIPTION_OVERRIDE,
     MessageCode::PROPERTY_WITH_NAME_OVERRIDE,
     MessageCode::INTEGER_VALUE_OUT_OF_RANGE,
+    MessageCode::INTEGRITY_VIOLOATION,
   };
 
   for (MessageCode known_code : all_codes) {
diff --git a/proto b/proto
index 063b094..c01fd9f 160000
--- a/proto
+++ b/proto
@@ -1 +1 @@
-Subproject commit 063b09421ad064e13fa858076fcb4de616cfe6cb
+Subproject commit c01fd9ff1471adafa707fdb36bdaa49749079fa6
-- 
GitLab