allcle

Tables (7)

MATCHES (Untitled5)

  • 경기 ID (id) — Primary key — NOT NULL
  • 홈팀 ID (home_team_id) — Foreign key → TEAMS.팀 ID — NOT NULL
  • 원정팀 ID (away_team_id) — Foreign key → TEAMS.팀 ID — NOT NULL
  • 경기장 ID (stadium_id) — Foreign key → stadiums.구장 ID — NOT NULL
  • 경기 날짜/시간 (match_date)
  • 티켓팅 난이도 (difficulty)

SECTIONS (Untitled4)

  • 구역 ID (id) — Primary key — NOT NULL
  • 구장 ID (stadium_id) — Foreign key → stadiums.구장 ID — NOT NULL
  • 구역 이름 (name)
  • 좌석 등급 (grade)
  • 가격 (price)
  • 해당 구역 총 좌석 수 (total_seat)
  • 좌석맵 SVG path (svg_path)
  • 매진 속도 가중치 (popularity)

SIMULATION (Untitled7)

    SIMULATION_RESULT (Untitled6)

    • 결과 ID (id) — Primary key — NOT NULL
    • 사용자 ID (user_id) — Foreign key → USER.사용자 UUID — NOT NULL
    • 경기 ID (match_id) — Foreign key → MATCHES.경기 ID — NOT NULL
    • 선택한 구역 ID (section_id) — Foreign key → SECTIONS.구역 ID — NOT NULL
    • 총 소요 시간 (total_time_ms)
    • 대기열 소요 시간 (queue_time_ms)
    • 좌석 선택 소요 시간 (seat_select_time_ms)
    • CAPTCHA 소요 시간 (captcha_time_ms)
    • 실수 횟수 (mistake_count)
    • 최종 점수 (score)
    • 성공 여부 (success)
    • 결과 생성 시간 (created_at)

    TEAMS (Untitled3)

    • 팀 ID (id) — Primary key — NOT NULL
    • 팀 이름 (name)
    • 짧은 팀명 (short_name)
    • 팀 대표 색상 (color)
    • 구장 ID (home_stadium_id) — Foreign key → stadiums.구장 ID — NOT NULL

    USER (Untitled)

    • 사용자 UUID (id) — Primary key — NOT NULL
    • 닉네임 (nickname)
    • 생성시간 (created_at)

    stadiums (Untitled2)

    • 구장 ID (id) — Primary key — NOT NULL
    • 구장 이름 (name)
    • 전체 수용 인원 (total_capacity)