class diagram pretty

main
bel 2024-04-15 21:04:54 -06:00
parent 254cb1ec0a
commit dd98aedb5d
1 changed files with 23 additions and 14 deletions

View File

@ -4,9 +4,9 @@ Thank you, [Sean](https://www.linkedin.com/in/sean-moore-1755a619/)
## TODO ## TODO
- to class design for joins and external tables
- dedupe multi channels - dedupe multi channels
- add Team to Message - add Team to Message
- to class design for joins and external tables
- from sync ingest to ingestQueue that retries a few times so user messages can find parent - from sync ingest to ingestQueue that retries a few times so user messages can find parent
- limit queue retries - limit queue retries
- share postgres with Grafana - share postgres with Grafana
@ -19,17 +19,26 @@ Thank you, [Sean](https://www.linkedin.com/in/sean-moore-1755a619/)
``` ```
erDiagram erDiagram
%% thread event channel eventName message %% thread event eventName
Event ||--|{ Message: "updates" EVENT ||--|{ THREAD: "spawns"
Thread }|--|| Event : "transcribes" THREAD ||--|{ MESSAGE: "populated by"
Channel
EventName MESSAGE {
%% CUSTOMER }|..|{ DELIVERY-ADDRESS : has ID str
%% CUSTOMER ||--o{ ORDER : places URL str
%% CUSTOMER ||--o{ INVOICE : "liable for" TS number
%% DELIVERY-ADDRESS ||--o{ ORDER : receives Plaintext str
%% INVOICE ||--|{ ORDER : covers }
%% ORDER ||--|{ ORDER-ITEM : includes THREAD {
%% PRODUCT-CATEGORY ||--|{ PRODUCT : contains ID str
%% PRODUCT ||--o{ ORDER-ITEM : "ordered in" URL str
Channel str
}
EVENT {
ID str
Name str
Asset str
Resolved bool
Datacenter str
}
``` ```