mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-16 07:13:29 +00:00
feat(backup): carry the five relation link tables both ways
Lab result to document, visit to medication, visit to dose, medication to document and medication to condition now ride the full backup in their own section file and come back with their original filing instant. A link whose end the restore did not write is dropped and reported under the new relationLink skip kind. The tables leave the coverage register for the two-ended list, guarded by relation-links-backup-completeness.test.ts and seeded in the round trip.
This commit is contained in:
1 parent
e292db1fbd
commit
ffd46b017b
23 files changed
+711
-11
No files matched your search
@@ -448,6 +448,9 @@ function catalogueLabel(
|
||||
if (catalogue === "documentConditionLink") {
|
||||
return t("admin.section.backups.restoreSkippedDocumentConditionLink");
|
||||
}
|
||||
if (catalogue === "relationLink") {
|
||||
return t("admin.section.backups.restoreSkippedRelationLink");
|
||||
}
|
||||
if (catalogue === "extractedFact") {
|
||||
return t("admin.section.backups.restoreSkippedExtractedFact");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user