지역기반 커머스 (실습용) ERD
테이블 (7)
가입정보 (myinfos)
- 유저ID (user_id) — NULLABLE — 기본 키 — NOT NULL
- 가입일 (create_date) — NULLABLE
- 닉네임 (nickname) — NULLABLE
- 연동 계정 타입 (account_type) — NULLABLE
- 기기 플랫폼 (platform) — NULLABLE
- 사용자 거주지 정보1 (region_1depth_name) — NULLABLE
- 사용자 거주지 정보2 (region_2depth_name) — NULLABLE
- 사용자 거주지 정보3 (region_3depth_name) — NULLABLE
- 행정동코드 (h_code) — NULLABLE
- 위도 (x) — NULLABLE
- 경도 (y) — NULLABLE
상품 등록 정보 (products)
- 상품 ID (product_id) — NULLABLE — 기본 키 — NOT NULL
- 상품명 (product_title) — NULLABLE
- 상품 등록일 (registration_date) — NULLABLE
- 유저 ID (user_id) — NULLABLE
설치 정보 (install)
- 필드 정의 (필드명) — 모드
- 앱스플라이어 ID (appsflyer_id) — NULLABLE
- Field
일간 로그인 유저 (login_users)
- 유저ID (user_id) — NULLABLE — 외래 키 → 가입정보.유저ID — NOT NULL
- 로그인 일자 (login_date) — NULLABLE
- 닉네임 (nickname) — NULLABLE
- 기기 플랫폼 (platform) — NULLABLE
주문 정보 (orders)
- 주문 번호 (order_id) — NULLABLE — 기본 키 — NOT NULL
- 유저ID (user_id) — NULLABLE — 외래 키 → 가입정보.유저ID — NOT NULL
- 픽업샵명 (pickup_shop_name) — NULLABLE — 외래 키 → 픽업샵 정보.픽업샵명 — NOT NULL
- 상품 ID (product_id) — NULLABLE — 외래 키 → 상품 등록 정보.상품 ID — NOT NULL
- 주문 일자 (order_date) — NULLABLE
- 결제 금액 (payment_amount) — NULLABLE
- 결제 상태 (payment_status) — NULLABLE
픽업샵 정보 (pickup_shop)
- 픽업샵명 (pickup_shop_name) — NULLABLE — 기본 키 — NOT NULL
- 픽업샵 위치 정보1 (region_1depth_name) — NULLABLE
- 픽업샵 위치 정보2 (region_2depth_name) — NULLABLE
- 픽업샵 위치 정보3 (region_3depth_name) — NULLABLE
- 픽업샵 행정동코드 (h_code) — NULLABLE
- 픽업샵 위도 (x) — NULLABLE
- 픽업샵 경도 (y) — NULLABLE