Files
familienarchiv/docs/architecture/db/db-relationships.puml
Marcel 9ade36dd3b docs(db): annotate person-delete ON DELETE behaviour in DB diagrams (#684)
Annotate SET NULL on documents.sender_id and CASCADE on
document_receivers.person_id, and add the new
transcription_block_mentioned_persons -> persons person_id FK (CASCADE)
to both db-relationships.puml and db-orm.puml.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-06 12:34:46 +02:00

4.2 KiB

AuthDocumentsPersonsTagsTranscriptionOCRSupportingapp_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_personsgeschichten_documentsapp_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_iddocument_id