mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-13 14:32:03 +00:00
Merge branch 'feat/v125-records' into release/v1.25.0
# Conflicts: # docs/api/openapi.yaml # messages/de.json # messages/en.json # messages/es.json # messages/fr.json # messages/it.json # messages/pl.json # scripts/rotate-encryption-key.ts # src/lib/crypto/encrypted-columns.ts # src/lib/openapi/routes/index.ts # src/lib/query-keys/index.ts
This commit is contained in:
commit
ce2bddcc51
41 files changed
+3517
-11
No files matched your search
@@ -458,6 +458,22 @@ async function main() {
|
||||
prisma.mentalHealthAssessment,
|
||||
),
|
||||
);
|
||||
// ───── v1.25 structured health records (Bytes columns) ─────
|
||||
// Allergy free-text reaction + note; family-history note. Always encrypted
|
||||
// on write (no legacy plaintext column), so every non-null row rotates.
|
||||
results.push(
|
||||
await rotateBytesColumn("Allergy", "reactionEncrypted", prisma.allergy),
|
||||
);
|
||||
results.push(
|
||||
await rotateBytesColumn("Allergy", "notesEncrypted", prisma.allergy),
|
||||
);
|
||||
results.push(
|
||||
await rotateBytesColumn(
|
||||
"FamilyHistoryEntry",
|
||||
"notesEncrypted",
|
||||
prisma.familyHistoryEntry,
|
||||
),
|
||||
);
|
||||
|
||||
console.log("\n=== Rotation summary ===");
|
||||
let totalRotated = 0;
|
||||
|
||||
Reference in new issue
Block a user