Numble11

테이블 (6)

글 (Post)

  • 식별자 (id) — Long — 기본 키 — NOT NULL
  • 유저식별자 (userid) — Long — 외래 키 → 유저.식별자 — NOT NULL
  • 글 (post) — string
  • 사진 (img) — img
  • 시간 (time) — date
  • 소모임글 (meeting) — boolean

글 좋아요 (PostLike)

  • 식별자 (id) — Long — 기본 키 — NOT NULL
  • 유저식별자 (userid) — Long — 외래 키 → 유저.식별자 — NOT NULL
  • 글식별자 (postid) — Long — 외래 키 → 글.식별자 — NOT NULL

대댓글 (Recomment)

  • 식별자 (id) — Long — 기본 키 — NOT NULL
  • 유저식별자 (userid) — Long — 외래 키 → 유저.식별자 — NOT NULL
  • 댓글식별자 (commentid) — Long — 외래 키 → 댓글.식별자 — NOT NULL
  • 대댓글 (recomment) — Long
  • 시간 (time) — date

댓글 (Comment)

  • 식별자 (id) — Long — 기본 키 — NOT NULL
  • 글식별자 (postid) — Long — 외래 키 → 글.식별자 — NOT NULL
  • 유저식별자 (userid) — Long — 외래 키 → 유저.식별자 — NOT NULL
  • 댓글 (comment) — string
  • 시간 (time) — date

소모임 유저 (MeetingUser)

  • 식별자 (id) — Long — 기본 키 — NOT NULL
  • 글식별자 (postid) — Long — 외래 키 → 글.식별자 — NOT NULL
  • 유저식별자 (userid) — Long — 외래 키 → 유저.식별자 — NOT NULL

유저 (User)

  • 식별자 (id) — Long — 기본 키 — NOT NULL
  • 위치 (location) — string
  • 이메일 (email) — string
  • 비밀번호 (password) — string
  • 핸드폰번호 (cellphone) — string
  • 이름 (name) — string
  • 닉네임 (nickname) — string
  • 유저점수 (score) — int