dangnyang

Tables (4)

event_logs

  • event_id — BIGINT — Primary key — NOT NULL — 이벤트 식별자
  • user_id — BIGINT — Foreign key → users.user_id — NOT NULL — 사용자 식별자
  • session_id — BIGINT — Foreign key → sessions.session_id — NOT NULL — 세션 식별자
  • event_type — ENUM('search', 'select_condition', 'detail', 'check_condition', 'intent') — NOT NULL — 퍼널 이벤트 타입
  • event_timestamp — DATETIME — NOT NULL — 이벤트 발생 시각
  • facility_id — BIGINT — Foreign key → facilities.facility_id — 관련 시설 식별자(상세/의도 이벤트 중심)
  • condition_applied — TINYINT(1) — NOT NULL — 조건 적용 여부
  • condition_count — INT — NOT NULL — 선택한 조건 수
  • is_repeat — TINYINT(1) — NOT NULL — 동일 시설 이전 조회 여부
  • intent_type — ENUM('reserve', 'call', 'save', 'share', 'route') — 의도 타입
  • experiment_id — VARCHAR(64) — 실험 식별자
  • variant — ENUM('A', 'B') — 실험군
  • page_type — ENUM('search', 'detail') — 페이지 타입
  • ui_element — VARCHAR(50) — UI 요소(filter, card, cta 등)
  • lcp_ms — INT — LCP(ms)
  • lsi_score — DECIMAL(5, 3) — LSI 점수(0~1)
  • created_at — DATETIME — NOT NULL — 적재 시각

facilities

  • facility_id — BIGINT — Primary key — NOT NULL — 시설 식별자
  • facility_name — VARCHAR(150) — NOT NULL — 시설명
  • facility_type — VARCHAR(30) — 시설 유형(카페, 식당 등)
  • created_at — DATETIME — NOT NULL — 레코드 생성 시각

sessions

  • session_id — BIGINT — Primary key — NOT NULL — 세션 식별자
  • user_id — BIGINT — Foreign key → users.user_id — NOT NULL — 사용자 식별자
  • started_at — DATETIME — NOT NULL — 세션 시작 시각
  • ended_at — DATETIME — 세션 종료 시각
  • created_at — DATETIME — NOT NULL — 레코드 생성 시각

users

  • user_id — BIGINT — Primary key — NOT NULL — 사용자 식별자
  • user_key — VARCHAR(100) — NOT NULL — 회원/비회원 통합 추적 키
  • signup_at — DATETIME — 가입 시각(비회원은 NULL)
  • created_at — DATETIME — NOT NULL — 레코드 생성 시각