kayfabe_erd

Tables (5)

EVENTS (이벤트(대회))

  • id (내부 id) — bigint PK — Primary key
  • slug (URL, 프론트 식별자) — UK
  • label (이벤트 이름)
  • month (월)
  • year (연도)
  • status (이벤트 진행상황)
  • finished_at (이벤트 종료 시각)
  • created_at (이벤트 생성 시각)
  • updated_at (이벤트 업뎃 시각)

MATCH_PICK (AI , 회원 경기 예측)

  • match_id (매치 id) — FK — Foreign key → PLE_MATCHES.event_id
  • Field — Foreign key → PLE_MATCHES.Field
  • id (내부 id) — PK
  • client_id (익명 id)
  • pick (경기 예측)
  • user_id (유저 id) — FK — Foreign key → USERS.id — NOT NULL

PLE_MATCHES (경기 목록)

  • Field — Primary key
  • event_id (이벤트 id) — FK — Foreign key → EVENTS.id
  • id (내부 id) — PK
  • match_key (프론트 카드 id)
  • title (타이틀 이름)
  • format (경기 종류)
  • card_variant (경기 카드)
  • sort_order (Field2)
  • card_json (Field3)
  • status (경기 진행상황)
  • winner_pick (승리 위치)
  • winner_name (승리 선수)
  • ai_pick (Field4)
  • ai_pick_name (Field5)
  • ai_correct (Field6)
  • point_value (Field7)
  • finished_at (Field8)
  • created_at (Field9)
  • updated_at\ (Field10)

TITLE_ACQUISITIONS (타이틀)

  • id (Field) — Foreign key → PLE_MATCHES.Field
  • match_id (이벤트 id) — FK — Foreign key → PLE_MATCHES.event_id
  • competitor_name (Field2)
  • belt_name (Field3)
  • won_at (Field4)
  • won_at_slug (Field5)
  • match_key (Field6)
  • source (Field7)
  • created_at (Field8)

USERS (회원)

  • id (내부 id) — PK — Primary key — NOT NULL
  • login_id (실제 사용 id) — UK
  • nickname (닉네임)
  • email (이메일 주소) — UK