Files
familienarchiv/docs/architecture/db/db-relationships.puml
Marcel 1226bd0a07 docs(timeline): register timeline domain in package tables and diagrams
Add timeline/ to the root and backend package tables, TimelineEvent to the
domain-model entity tables, TimelineEvent/EventType/Zeitstrahl to the
glossary, a new l3-backend-timeline C4 component diagram, and the
timeline_events table + two join tables (with their CHECKs and cascade FKs)
to the db-orm and db-relationships ER diagrams. Bumps the db-orm snapshot to
V77.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-13 00:34:18 +02:00

5.2 KiB

AuthDocumentsPersonsTagsTranscriptionOCRSupportingTimelineapp_usersuser_groupsapp_users_groupsgroup_permissionspassword_reset_tokensinvite_tokensinvite_token_group_idsdocumentsdocument_receiversdocument_tagsdocument_versionsdocument_annotationsdocument_commentsdocument_training_labelscomment_mentionspersonsperson_name_aliasesperson_relationshipstagtranscription_blockstranscription_block_versionstranscription_block_mentioned_personsocr_jobsocr_job_documentsocr_training_runssender_modelsnotificationsaudit_loggeschichtengeschichten_personsjourney_itemstimeline_eventstimeline_event_personstimeline_event_documentspartial UNIQUE (geschichte_id, document_id)WHERE document_id IS NOT NULL (V74)CHECK length(body) <= 4000for type = JOURNEY (V75)CHECK event_date_end non-null IFF RANGECHECK date_precision <> 'UNKNOWN' (V77)app_user_idgroup_idgroup_idapp_user_idcreated_byinvite_token_idgroup_idsender_id (ON DELETE SET NULL)document_idperson_id (ON DELETE CASCADE)document_idtag_iddocument_ideditor_iddocument_idcreated_bydocument_idannotation_idblock_idauthor_idparent_iddocument_idcomment_idapp_user_idperson_idperson_idrelated_person_idparent_idannotation_iddocument_idcreated_byupdated_byblock_idchanged_byblock_idperson_id (ON DELETE CASCADE)job_iddocument_idtriggered_byperson_idperson_idrecipient_idactor_iddocument_idauthor_idgeschichte_idperson_idgeschichte_id (ON DELETE CASCADE)document_id (ON DELETE SET NULL)timeline_event_id (ON DELETE CASCADE)person_id (ON DELETE CASCADE)timeline_event_id (ON DELETE CASCADE)document_id (ON DELETE CASCADE)