practice

Tables (3)

cart (장바구니테이블)

  • cart_id (장바구니아이디) — BIGINT — Primary key — NOT NULL
  • Field

product (상품테이블)

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

user (유저 테이블)

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