Closed oubiwann closed 1 year ago
Since we're not going with SurrealDB, it ended up looking like this instead:
pub struct EncryptedRecord {
pub key: String,
pub kind: Kind,
pub value: Vec<u8>,
pub created: String,
pub updated: String,
}
pub struct PasswordValue {
pub user: String,
pub password: String,
}
pub struct DecryptedRecord {
pub key: String,
pub kind: Kind,
pub value: PasswordValue,
pub created: String,
pub updated: String,
}
Using SurrealDB, we're looking at this, right now:
Usage is like this: