BBEUDDE

테이블 (3)

문제 (Problem)

  • problemId (Key) — Long — 기본 키 — NOT NULL
  • problemtitle (Field) — String
  • choiceA (Field2) — String
  • choiceB (Field3) — String
  • start_date (Field4) — DateTime
  • end_date (Field5) — DateTime

투표결과 (VoteResult)

  • userId (Key) — Long — 외래 키 → 회원.userId — NOT NULL
  • problemId (Key2) — Long — 외래 키 → 문제.problemId — NOT NULL
  • answerPickA (Field) — Boolean
  • answerPickB (Field2) — Boolean

회원 (User)

  • userId (Key) — Long — 기본 키 — NOT NULL