From edcde83323e83599f71c55b252cf5d537b14da1a Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Mon, 5 May 2025 12:16:29 -0400 Subject: [PATCH] A few new fields for the Journals. Content history and track passcode used for encryption. --- app/models/journal_entry_models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/journal_entry_models.py b/app/models/journal_entry_models.py index 408bf24..3e4ed8a 100644 --- a/app/models/journal_entry_models.py +++ b/app/models/journal_entry_models.py @@ -43,6 +43,11 @@ class Journal_Entry_Base(BaseModel): content_json: Optional[Union[Json, None]] content_encrypted: Optional[str] + history: Optional[str] # Used to store the history of the journal entry content + history_encrypted: Optional[str] + + passcode_hash: Optional[str] # Used to store the hash of the passcode for looking up the passcode + template: Optional[bool] = False # If this is a template entry, it can be used to create new entries based on this template type_code: Optional[str] # 'log', 'tracking', 'personal', 'professional', etc