ER Diagram
4 tables · 2 relationships · drag to move · scroll to zoom
85%
Primary Key
Foreign Key
Column
Selected
FK relationship
N
:
1
cardinality
N
1
N
1
users
10,234
🔑
id
INT
name
TEXT
email
TEXT
age
INT
active
BOOL
created_at
TIMESTAMP
orders
51,847
🔑
id
INT
🔗
user_id
INT
amount
REAL
status
TEXT
created_at
TIMESTAMP
products
523
🔑
id
INT
name
TEXT
price
REAL
stock
INT
🔗
category_id
INT
categories
20
🔑
id
INT
name
TEXT
slug
TEXT