practice

Tables (3)

cart (장바구니 테이블)

  • cart_id (장바구니 아이디) — BIGINT — Primary key — NOT NULL
  • Field
  • product_id (상품아이디) — BIGINT — Foreign key → product.product_id — NOT NULL

product (상품테이블)

  • product_id (상품아이디) — BIGINT — Primary key — NOT NULL
  • Field

user (유저테이블)

  • user_id (유저아이디) — BIGINT — Primary key — NOT NULL
  • Field