add diagrams #30

Merged
kiara merged 10 commits from entity-relations into main 2025-06-02 10:46:04 +02:00
Owner

here is an entity relationship diagram i made for Fediversity/Fediversity#103 following mention of database-like entity relations at the migration data model requirements notes.

the data model may have been intended to be made in code, such as to facilitate testing.
however, in our case relations partially go through configurations rather than db relations, so i'm still kinda trying to figure out how to best apply those ideas in our case.

requirements:

  • specifying entity relations e.g. many-to-many
  • migrating both deployed and staged configurations
  • deploying of applications using the same versions
  • retaining relevant application state
  • handling of application-specific migration logic, such as to rewrite URLs as needed
here is an entity relationship diagram i made for https://git.fediversity.eu/Fediversity/Fediversity/issues/103 following [mention](https://git.fediversity.eu/Fediversity/meta/src/commit/5803f0bd1ec840bc8e64f8487b0717313f60f799/architecture-docs/data-model-requirements.md?display=source#L18) of database-like entity relations at the migration data model requirements notes. the data model may have been intended to be made in code, such as to facilitate testing. however, in our case relations partially go through configurations rather than db relations, so i'm still kinda trying to figure out how to best apply those ideas in our case. requirements: - [x] specifying [entity relations](https://mermaid.js.org/syntax/entityRelationshipDiagram.html#relationship-syntax) e.g. many-to-many - [x] migrating both deployed and staged configurations - [x] deploying of applications using the same versions - [x] retaining relevant application state - [x] handling of application-specific migration logic, such as to rewrite URLs as needed
fricklerhandwerk was assigned by kiara 2025-05-27 20:33:44 +02:00
Niols was assigned by kiara 2025-05-27 20:33:44 +02:00
kiara added 1 commit 2025-05-27 20:33:45 +02:00
kiara added 1 commit 2025-05-31 19:42:48 +02:00
kiara force-pushed entity-relations from df072cf214 to 5c6ddb187d 2025-05-31 20:37:32 +02:00 Compare
kiara force-pushed entity-relations from 5c6ddb187d to e462211c49 2025-05-31 20:37:48 +02:00 Compare
kiara added 1 commit 2025-05-31 22:37:51 +02:00
usage:
```sh
nix-shell -p mermaid-cli --command 'mmdc -i entity-relations.mmd -o
entity-relations.svg'
```
kiara added 1 commit 2025-05-31 22:41:16 +02:00
kiara added 1 commit 2025-05-31 22:52:01 +02:00
kiara added 1 commit 2025-05-31 23:04:56 +02:00
kiara added 1 commit 2025-05-31 23:15:05 +02:00
kiara added 1 commit 2025-05-31 23:50:30 +02:00
kiara added 1 commit 2025-06-01 09:21:31 +02:00
kiara changed title from add entity relationship diagram to add diagrams 2025-06-01 09:51:28 +02:00
fricklerhandwerk approved these changes 2025-06-02 09:50:38 +02:00
kiara merged commit 76eafa45ca into main 2025-06-02 10:46:04 +02:00
kiara deleted branch entity-relations 2025-06-02 10:46:23 +02:00
Sign in to join this conversation.
No reviewers
No labels
WP2
WP3
No milestone
No project
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Fediversity/meta#30
No description provided.