Gorae

Tables (6)

LeaderBoard (leaderboard)

  • 유저아이디 (user_id) — String — Primary key — NOT NULL
  • 유저닉네임 (user_name) — String
  • 유저프로필 (user_profile) — String
  • 채택뱃지 (user_badge) — String
  • 좋아요뱃지 (like_badge) — String
  • 뱃지획득시간 (awarded_at) — LocalDateTime
  • 누적댓글수 (comment_count) — Long
  • 누적좋아요수 (like_count) — Long
  • 누적채택수 (selectedCount) — Long

Post (Question)

  • 질문일련번호 (id) — BIGINT — Primary key
  • 제목 (title) — String
  • 내용 (contentJson) — String
  • 작성자 (user_id) — String
  • 게시글생성시간 (updateAt) — LocalDateTime
  • 조회수 (viewCount) — Integer
  • 삭제된게시물 (display) — Boolean

Post (Comment)

  • 답변일련번호 (id) — Long — Primary key
  • 댓글작성자 (user_id) — String — Foreign key → Post.유저일련번호
  • 질문일련번호 (question) — Long — Foreign key → Post.질문일련번호
  • 답변내용 (comment_content) — String
  • 답변생성시간 (create_at) — LocalDateTime
  • 답변수정시간 (update_at) — LocalDateTime
  • 좋아요갯수 (likeCount) — Long
  • 채택여부 (comment_adopt) — Boolean

Post (like)

  • 좋아요일련번호 (id) — Long — Primary key — NOT NULL
  • 좋아요유저 (user_info) — String — Foreign key → Post.유저일련번호
  • 댓글작성자 (comment) — String — Foreign key → Post.답변일련번호

Post (UserInfo)

  • 유저일련번호 (id) — Long — Primary key
  • 유저아이디 (user_id) — String
  • 유저닉네임 (user_name) — String
  • 유저프로필 (user_profile) — String
  • 채택뱃지 (user_badge) — String
  • 좋아요뱃지 (like_badge) — String

User (SiteUser)

  • 유저일련번호 (id) — Long — Primary key — NOT NULL
  • 유저아이디 (user_id) — String
  • 유저닉네임 (user_name) — String
  • 유저비밀번호 (password) — String
  • 유저전화번호 (phone_number) — String
  • 유저이메밀 (email) — String
  • 유저프로필 (user_profile) — String
  • 삭제여부 (deleted) — Boolean