lv5구현

테이블 (5)

Comment (Untitled3)

  • Key (id) — Long — 기본 키 — NOT NULL
  • Key (user-id) — Long — 외래 키 → User.Key — NOT NULL
  • Key (post-id) — Long — 외래 키 → Post.Key — NOT NULL
  • Field (contents) — String

CommentLike (Untitled5)

  • Key (id) — Long — 기본 키 — NOT NULL
  • Key (comment_id) — Long — 외래 키 → Comment.Key — NOT NULL
  • Key (user_id) — Long — 외래 키 → User.Key — NOT NULL

Post (Untitled2)

  • Key (id) — Long — 기본 키 — NOT NULL
  • Key (user_id) — Long — 외래 키 → User.Key — NOT NULL
  • Field (title) — String
  • Field (contents) — String

PostLike (Untitled4)

  • Key (id) — Long — 기본 키 — NOT NULL
  • Key (post_id) — Long — 외래 키 → Post.Key — NOT NULL
  • Key (user_id) — Long — 외래 키 → User.Key — NOT NULL

User (Untitled)

  • Key (id) — Long — 기본 키 — NOT NULL
  • Field2 (username) — String
  • Field (password) — String