feat(server::db): add share_salt column to operator table

Each operator row now stores a 32-byte random salt used to derive the
per-operator share encryption key from their passphrase (Argon2 KDF).
This commit is contained in:
CleverWild
2026-06-12 19:42:49 +02:00
parent 34850137df
commit 3e5f0cb3df
3 changed files with 3 additions and 0 deletions

View File

@@ -157,6 +157,7 @@ diesel::table! {
id -> Nullable<Integer>,
share -> Binary,
share_nonce -> Binary,
share_salt -> Binary,
created_at -> Integer,
updated_at -> Integer,
}