mutsa

Tables (4)

order

  • id — int — Primary key — NOT NULL
  • id (Key2) — int — Foreign key → user.id — NOT NULL
  • created_at — date

product

  • id — int — Primary key — NOT NULL
  • category — string
  • name — string
  • Field (cost) — int

product_order

  • Key (id) — int — Primary key — NOT NULL
  • id (Key3) — int — Foreign key → product.id — NOT NULL
  • id (Key2) — int — Foreign key → order.id — NOT NULL

user

  • id — int — Primary key — NOT NULL
  • name — string
  • age — int
  • Field (email) — string