A few new fields for the Journals. Content history and track passcode used for encryption.
This commit is contained in:
@@ -43,6 +43,11 @@ class Journal_Entry_Base(BaseModel):
|
|||||||
content_json: Optional[Union[Json, None]]
|
content_json: Optional[Union[Json, None]]
|
||||||
content_encrypted: Optional[str]
|
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
|
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
|
type_code: Optional[str] # 'log', 'tracking', 'personal', 'professional', etc
|
||||||
|
|||||||
Reference in New Issue
Block a user