updated diagrams

This commit is contained in:
2025-12-24 01:28:50 -07:00
parent 11ff52b1c7
commit 9539fa47fb
2 changed files with 13 additions and 7 deletions
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

+12 -6
View File
@@ -7,12 +7,6 @@ raw_store_events : store_id text
raw_store_events : event_id text raw_store_events : event_id text
raw_store_events : event_timestamp timestamptz raw_store_events : event_timestamp timestamptz
raw_store_events : raw_payload jsonb raw_store_events : raw_payload jsonb
raw_store_events : parsed boolean
note right of raw_store_events::"parsed"
indicates if the raw_payload has been parsed
and stored in one of the referencing tables
end note
object tiktok_store_events object tiktok_store_events
tiktok_store_events : store_id text tiktok_store_events : store_id text
@@ -32,6 +26,18 @@ etc_store_events : event_id text
etc_store_events : event_timestamp timestamptz etc_store_events : event_timestamp timestamptz
etc_store_events : [attribute: value ...] etc_store_events : [attribute: value ...]
note bottom of tiktok_store_events
Holds the parsed raw_payload of
the raw_store_events rows whose
platform is 'tiktok'. These
records are created automatically
via database triggers.
Other tables hold similar records
creating in the same manner.
end note
raw_store_events <|-- tiktok_store_events : (store_id, event_id) raw_store_events <|-- tiktok_store_events : (store_id, event_id)
raw_store_events <|-- etsy_store_events : (store_id, event_id) raw_store_events <|-- etsy_store_events : (store_id, event_id)
raw_store_events <|-- etc_store_events : (store_id, event_id) raw_store_events <|-- etc_store_events : (store_id, event_id)