aboutsummaryrefslogtreecommitdiffstats
path: root/atuin-server-database/src
diff options
context:
space:
mode:
Diffstat (limited to 'atuin-server-database/src')
-rw-r--r--atuin-server-database/src/models.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/atuin-server-database/src/models.rs b/atuin-server-database/src/models.rs
index a95ceba2..7183b1ec 100644
--- a/atuin-server-database/src/models.rs
+++ b/atuin-server-database/src/models.rs
@@ -7,6 +7,9 @@ pub struct History {
pub hostname: String,
pub timestamp: NaiveDateTime,
+ /// All the data we have about this command, encrypted.
+ ///
+ /// Currently this is an encrypted msgpack object, but this may change in the future.
pub data: String,
pub created_at: NaiveDateTime,
@@ -18,6 +21,9 @@ pub struct NewHistory {
pub hostname: String,
pub timestamp: chrono::NaiveDateTime,
+ /// All the data we have about this command, encrypted.
+ ///
+ /// Currently this is an encrypted msgpack object, but this may change in the future.
pub data: String,
}