북챌린지

테이블 (6)

book (Untitled2)

  • Key (book_id) — 기본 키 — NOT NULL
  • ISBN (book_code)
  • 책이름 (book_name)
  • 페이지수 (page_count)
  • 생성날짜 (created_at)
  • 수정날짜 (updated_at)

challenge (Untitled5)

  • (challenge_id) — 기본 키 — NOT NULL
  • 시작 날짜 (start_date)
  • 종료 날짜 (end_date)
  • 1등 보상 (reward)
  • 챌린지 내용 (content)
  • 참가자수 제한 (participant_limit)
  • 생성날짜 (created_at)
  • 수정날짜 (updated_at)
  • (book_id) — 외래 키 → book.Key — NOT NULL

challenge_user (Untitled6)

  • (users_id) — 외래 키 → users.users_id — NOT NULL
  • (challenge_id) — 외래 키 → challenge.challenge_id — NOT NULL
  • 챌린지 방 들어간 날짜 (joined_at)
  • 생성날짜 (created_at)
  • 수정날짜 (updated_at)

ranking (Untitled3)

  • Key (ranking_id) — 기본 키 — NOT NULL
  • 랭킹타입 (ranking_type)
  • 시작 시간 (period_start)
  • 종료 시간 (period_end)
  • 해당 기간 총 읽은 페이지 수 (total_pages)
  • 해당 기간 총 독서 시간 (total_reading_minitues)
  • 총 점수 (total_score)
  • 완독한 책의 수 (completed_book_count)
  • 사용자 순위 (rank_number)
  • 생성날짜 (created_at)
  • 수정날짜 (updated_at)
  • (users_id) — 외래 키 → users.users_id — NOT NULL

reading_record (Untitled4)

  • Key (record_id) — 기본 키 — NOT NULL
  • 시작 페이지 (start_page)
  • 현재 페이지 (current_page)
  • 책 완독 여부 (is_read)
  • 생성날짜 (created_at)
  • 수정날짜 (updated_at)
  • (book_id) — 외래 키 → book.Key — NOT NULL
  • (users_id) — 외래 키 → users.users_id — NOT NULL

users (Untitled)

  • (users_id) — 기본 키 — NOT NULL
  • 닉네임 (nickname)
  • 아이디 (username)
  • 비밀번호 (password)
  • 생성날짜 (created_at)
  • 수정날짜 (updated_at)