Schema
shop_db
users
id
int
name
text
email
text
orders
id
int
user_id
int
total
money
placed_at
date
order_items
id
int
order_id
int
product
text
qty
int
3 tables, 2 relations