snapTale

Tables (6)

cards (Untitled2)

  • 카드 아이디 (card_id) — INT — Primary key — NOT NULL
  • 지역 아이디 (location_id) — INT
  • 카드 이름 (card_name) — VARCHAR
  • 카드 이미지 (card_image) — VARCHAR
  • 카드 유닛지역 (card_unit_region) — VARCHAR
  • 카드 코스트 (card_cost) — INT
  • 카드 힘 (card_power) — INT
  • 카드 기술 (card_slkill_type) — VARCHAR
  • 카드 기술 설명 (card_skill_description) — VARCHAR
  • 카드 기술 json (card_skill_json) — JSON
  • 카드 활성화 (is_card_active) — BOOKEAN

locations (Untitled)

  • 지역 아이디 (location_id) — Primary key — NOT NULL
  • 지역 이름 (location_name)
  • 지역 능력 설명 (location_ability)
  • 지역 능력 json (location_ability_json)
  • 이미지 (location_image)

match_location (Untitled5)

  • 아이디 (id) — Primary key — NOT NULL
  • 지역 아이디 (location_id2) — Foreign key → locations.지역 아이디 — NOT NULL
  • 매칭 id (matches_id) — Foreign key → matches.매칭 id — NOT NULL
  • 슬롯 (slot_index)
  • 카드 아이디 (card_id) — INT — Foreign key → cards.카드 아이디 — NOT NULL

match_users (Untitled4)

  • 확인용 아이디 (match_user_id) — Primary key — NOT NULL
  • 유저 아이디 (userId) — INT — Foreign key → users.유저 아이디 — NOT NULL
  • 매칭 id (matches_id) — Foreign key → matches.매칭 id — NOT NULL

matches (Untitled3)

  • 매칭 id (matches_id) — Primary key — NOT NULL
  • 상태 (matches_status)
  • 이긴 사람 (winner_user_id)
  • 진 사람 (loser_user_id)

users

  • 유저 아이디 (userId) — INT — Primary key — NOT NULL
  • 이름 (name) — VARCHAR
  • 랭크 (rank) — INT
  • 랭크 포인트 (rank_point) — int
  • 플레이판수 (total_matches) — INT, DEFAULT 0
  • 이긴판수 (total_wins) — INT, DEFAULT 0