notice-board

Tables (3)

Post (게시글)

  • 게시글 아이디 (id) — Primary key — NOT NULL
  • 유저 아이디 (userid) — Foreign key → User.유저 아이디 — NOT NULL
  • 내용 (content)
  • 좋아요 (like)
  • 조회수 (count)
  • 작성일자 (createAt)
  • 수정일자 (updatedAt)

User (유저)

  • 유저 아이디 (id) — Primary key — NOT NULL
  • 이름 (username)
  • 비밀번호 (pw)

comment (댓글)

  • Key (commentid) — Primary key — NOT NULL
  • 유저 아이디 (userid) — Foreign key → User.유저 아이디 — NOT NULL
  • 게시글 아이디 (postid) — Foreign key → Post.게시글 아이디 — NOT NULL
  • 내용 (content)
  • 좋아요 (like)
  • 작성일자 (createAt)
  • 수정일자 (updateAt)