라이징캠프_화_0729

테이블 (7)

base_product_options

  • option_id — INT
  • base_product_id — INT — NOT NULL
  • type — VARCHAR(50) — NOT NULL
  • value — VARCHAR(255) — NOT NULL

base_products

  • base_product_id — INT
  • name — VARCHAR(255) — NOT NULL
  • category_id — INT — NOT NULL

categories

  • category_id — INT
  • name — VARCHAR(255) — NOT NULL

images

  • image_id — INT
  • product_id (user_id) — INT — NOT NULL
  • file_url — VARCHAR(255) — NOT NULL
  • theme — VARCHAR(50)
  • sales_score — INT

orders

  • order_id — INT
  • user_id — INT — NOT NULL
  • product_id — INT — NOT NULL
  • order_date — DATETIME — NOT NULL
  • status_id — INT — NOT NULL

statuses

  • status_id — INT
  • name — VARCHAR(20) — NOT NULL

users

  • user_id — INT
  • username — VARCHAR(255) — NOT NULL
  • email — VARCHAR(255) — NOT NULL
  • role_id — INT — NOT NULL