likeliontest

Tables (3)

Comment (Untitled2)

  • 댓글 id (id) — integer — Primary key — NOT NULL
  • 댓글내용 (content) — Char
  • 유저 id (user_id) — integer
  • 게시글 id (post_id) — integer — Foreign key → Post.게시글 id — NOT NULL — 게시글 id

Post (Untitled3)

  • 게시글 id (id) — integer — Primary key — NOT NULL — 게시글 id
  • 게시글 내용 (content) — Char
  • 유저 PK (user_id) — integer — Foreign key → User.유저 id — NOT NULL — Primary Key

User (Untitled)

  • 유저 id (id) — Primary key — NOT NULL — Primary Key
  • 유저 이름 (username) — Char
  • 비밀번호 (password) — charfield