4week_homework

Tables (4)

ahth_user (users)

  • auth_user (users) — Primary key — NOT NULL
  • password
  • email

inbound

  • code — Foreign key → product.code — NOT NULL
  • stock_quanity (quanity) — Foreign key → product.stock_quanity — NOT NULL
  • auth_user (users) — Foreign key → product.auth_user — NOT NULL
  • quanity (quanity2)

outbound

  • code — Foreign key → product.code — NOT NULL
  • stock_quanity (quanity) — Foreign key → product.stock_quanity — NOT NULL
  • auth_user (users) — Foreign key → product.auth_user — NOT NULL
  • quanity (quanity2)

product

  • code — Primary key — NOT NULL
  • stock_quanity (quanity) — Primary key — NOT NULL
  • auth_user (users) — Foreign key → ahth_user.auth_user — NOT NULL
  • discription
  • price
  • size