TheZift Logo
TheZift
Problems
High-Throughput Analytics Event Sourcing & Clickstream SchemaHard
1:N1:N1:N1:N
users
3 cols
PKid
string
emailUQ
string
created_at
timestamp
orders
5 cols
PKid
string
FKuser_idIDX
string
total_amount
decimal
statusIDX
enum
created_at
timestamp
products
4 cols
PKid
string
name
string
price
decimal
stock_quantity
int
order_items
4 cols
PKid
string
FKorder_id
string
FKproduct_id
string
quantity
int
inventory_reservations
4 cols
PKid
string
FKorder_idIDX
string
status
enum
expires_at
timestamp
Entity Relationship
95%
Code Editor
Loading...
Snippets: