From e02fe870e948324aad687746d3c44b987df1e54f Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Thu, 25 Jul 2024 14:58:16 -0500 Subject: [PATCH] fix --- .../librepertory/src/providers/encrypt/encrypt_provider.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/repertory/librepertory/src/providers/encrypt/encrypt_provider.cpp b/repertory/librepertory/src/providers/encrypt/encrypt_provider.cpp index 32764840..3db89501 100644 --- a/repertory/librepertory/src/providers/encrypt/encrypt_provider.cpp +++ b/repertory/librepertory/src/providers/encrypt/encrypt_provider.cpp @@ -881,6 +881,7 @@ auto encrypt_provider::read_file_bytes(const std::string &api_path, file_data["original_file_size"] = file_size; file_data["iv_list"] = iv_list; auto ins_res = db::db_insert{*db_, file_table} + .or_replace() .column_value("source_path", source_path) .column_value("data", file_data.dump()) .go();