class diagram pretty
parent
254cb1ec0a
commit
dd98aedb5d
37
README.md
37
README.md
|
|
@ -4,9 +4,9 @@ Thank you, [Sean](https://www.linkedin.com/in/sean-moore-1755a619/)
|
|||
|
||||
## TODO
|
||||
|
||||
- to class design for joins and external tables
|
||||
- dedupe multi channels
|
||||
- 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
|
||||
- limit queue retries
|
||||
- share postgres with Grafana
|
||||
|
|
@ -19,17 +19,26 @@ Thank you, [Sean](https://www.linkedin.com/in/sean-moore-1755a619/)
|
|||
|
||||
```
|
||||
erDiagram
|
||||
%% thread event channel eventName message
|
||||
Event ||--|{ Message: "updates"
|
||||
Thread }|--|| Event : "transcribes"
|
||||
Channel
|
||||
EventName
|
||||
%% CUSTOMER }|..|{ DELIVERY-ADDRESS : has
|
||||
%% CUSTOMER ||--o{ ORDER : places
|
||||
%% CUSTOMER ||--o{ INVOICE : "liable for"
|
||||
%% DELIVERY-ADDRESS ||--o{ ORDER : receives
|
||||
%% INVOICE ||--|{ ORDER : covers
|
||||
%% ORDER ||--|{ ORDER-ITEM : includes
|
||||
%% PRODUCT-CATEGORY ||--|{ PRODUCT : contains
|
||||
%% PRODUCT ||--o{ ORDER-ITEM : "ordered in"
|
||||
%% thread event eventName
|
||||
EVENT ||--|{ THREAD: "spawns"
|
||||
THREAD ||--|{ MESSAGE: "populated by"
|
||||
|
||||
MESSAGE {
|
||||
ID str
|
||||
URL str
|
||||
TS number
|
||||
Plaintext str
|
||||
}
|
||||
THREAD {
|
||||
ID str
|
||||
URL str
|
||||
Channel str
|
||||
}
|
||||
EVENT {
|
||||
ID str
|
||||
Name str
|
||||
Asset str
|
||||
Resolved bool
|
||||
Datacenter str
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue