pairing-db

테이블 (8)

Copy Of 페어링북 (CopyOfBook)

  • 북id (book_id) — Not NULL — 기본 키 — NOT NULL
  • 회원id (userid) — 외래 키 → 또다른 회원.회원id — NOT NULL
  • 질문1 (question_1) — Not NULL
  • 질문2 (question_2) — Not NULL
  • 질문3 (question_3) — Not NULL
  • 질문4 (question_4) — Not NULL
  • 질문5 (question_5) — Not NULL
  • 질문6 (question_6) — Not NULL
  • 질문7 (question_7) — Not NULL
  • 질문8 (question_8) — Not NULL
  • 질문9.1 (question_9_1) — Not NULL
  • 질문9.2 (question_9_2) — Not NULL
  • 질문10.1 (question_10_1) — Not NULL
  • 질문10.2 (question_10_2) — Not NULL
  • 질문10.3 (question_10_3) — NULL
  • 질문11 (question_11) — Not NULL
  • 질문12.1 (question_12_1) — Not NULL
  • 질문12.2 (question_12_2) — NULL
  • 질문13.1 (question_13_1) — Not NULL
  • 질문 13.2 (question_13_2) — Not NULL

또다른 회원 (AnotherMember)

  • 회원id (userid) — 기본 키 — NOT NULL
  • 이름 (name) — Not NULL
  • 닉네임 (nickname) — Not NULL
  • 나이 (age) — Not NULL
  • 제외학교 (exclude_school) — Not NULL
  • 제외학과 (exclude_major) — Not NULL
  • 선호성별 (match_gender) — Not NULL
  • 비밀번호 (password) — Not NULL

스크랩 (Scrap)

  • 스크랩id (scrap_id) — AUTO INCREMENT — 기본 키 — NOT NULL
  • 내id (scraper_id) — uuid — 외래 키 → 회원정보.회원id — NOT NULL
  • 스크랩당한사람 id (scraped_id) — uuid — 외래 키 → 또다른 회원.회원id — NOT NULL
  • Scraped_at (scraped_at)

페어링 매치 (Pairing_Match)

  • 좋아요id (likeid) — AUTO INCREMENT — 기본 키 — NOT NULL
  • 회원id (userid) — 외래 키 → 회원정보.회원id — NOT NULL
  • 회원id (userid2) — 외래 키 → 또다른 회원.회원id — NOT NULL
  • Matched_at (matched_at)

페어링 좋아요 (Pairing_Likes)

  • 좋아요id (likeid) — AUTO INCREMENT — 기본 키 — NOT NULL
  • 보낸사람id (sender_id) — 외래 키 → 회원정보.회원id — NOT NULL
  • 받은사람id (receiver_id) — 외래 키 → 또다른 회원.회원id — NOT NULL
  • 받은시간 (created_at)
  • 상태 (status) — Not NULL
  • Field3

페어링북 (Book)

  • 북id (book_id) — Not NULL — 기본 키 — NOT NULL
  • 회원id (userid) — 외래 키 → 회원정보.회원id — NOT NULL
  • 질문1 (question_1) — Not NULL
  • 질문2 (question_2) — Not NULL
  • 질문3 (question_3) — Not NULL
  • 질문4 (question_4) — Not NULL
  • 질문5 (question_5) — Not NULL
  • 질문6 (question_6) — Not NULL
  • 질문7 (question_7) — Not NULL
  • 질문8 (question_8) — Not NULL
  • 질문9.1 (question_9_1) — Not NULL
  • 질문9.2 (question_9_2) — Not NULL
  • 질문10.1 (question_10_1) — Not NULL
  • 질문10.2 (question_10_2) — Not NULL
  • 질문10.3 (question_10_3) — NULL
  • 질문11 (question_11) — Not NULL
  • 질문12.1 (question_12_1) — Not NULL
  • 질문12.2 (question_12_2) — NULL
  • 질문13.1 (question_13_1) — Not NULL
  • 질문 13.2 (question_13_2) — Not NULL

페어링북 표지 (Cover)

  • 제목id (title_id) — 기본 키 — NOT NULL
  • 북id (book_id) — Not NULL — 외래 키 → 페어링북.북id — NOT NULL
  • 제목 (title) — Not NULL
  • 소개문구 (description)
  • 사진 (picture) — NULL

회원정보 (Member)

  • 회원id (userid) — uuid — 기본 키 — NOT NULL
  • 이름 (name) — Not NULL
  • 닉네임 (nickname) — Not NULL
  • 나이 (age) — Not NULL
  • 제외학교 (exclude_school) — Not NULL
  • 제외학과 (exclude_major) — Not NULL
  • 선호성별 (match_gender) — Not NULL
  • 페어링 완성여부 (book_exist) — NOT NULL
  • 닉네임 수정 여부 (is_modifed_nickname) — Not NULL