배달의민족

테이블 (3)

User (Untitled)

  • 유저 식별번호 (user_id) — BIGINT — 기본 키
  • 이름 (Key) — 기본 키 — NOT NULL
  • 유저 식별번호 (user_id2) — BIGINT — 외래 키 → User_address.유저 식별번호
  • 주소 식별번호 (address_id) — BIGINT — 외래 키 → User_address.주소 식별번호
  • 비밀번호 (user_password) — VARCHAR(200)
  • 닉네임 (user_nickname) — VARCHAR(50)
  • 이메일 (user_email) — VARCHAR(200)
  • 전화번호 (user_phone_number) — VARCHAR(15)
  • 프로필사진 (user_profile_image) — TEXT
  • 포인트 (user_point) — BIGINT
  • 주문횟수 (order_count) — INT UNSIGNED

User_address (Untitled3)

  • 유저 식별번호 (user_id) — BIGINT — 기본 키
  • 주소 식별번호 (address_id) — BIGINT — 기본 키
  • 상세주소 (detail_address) — detail_address
  • 주소 종류 (address_type) — address_type
  • 기본 배송지 여부 (is_default_address) — VARCHAR(10)
  • 생성일시 (created_at) — TIMESTAMP
  • 수정일시 (updated_at) — TIMESTAMP

User_coupon (Untitled2)

  • 유저 식별전호 (coupon_id) — VARCHAR(50) — 기본 키
  • 쿠폰 식별번호 (user_id) — BIGINT
  • 쿠폰 발행일자 (coupon_created_at) — VARCHAR(50)
  • 쿠폰 만료일자 (coupon_end_at) — VARCHAR(50)
  • 상태 (status) — VARCHAR(10)