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:
Marc-André Bombeck committed 2026-10-15 23:57:27 +02:00
1 parent e292db1fbd
commit ffd46b017b
23 files changed
+711 -11

No files matched your search

+3
View File
@@ -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");
}