community

테이블 (3)

게시글 (Post)

  • 게시글아이디 (post_id) — NOT NULL — 기본 키 — NOT NULL
  • 사용자아이디 (user_id) — NOT NULL — 외래 키 → 사용자.사용자아이디 — NOT NULL
  • 제목 (post_title) — NOT NULL
  • 내용 (post_content) — NOT NULL
  • 작성일시 (post_created_date) — NOT NULL
  • 수정일시 (post_update_date) — NOT NULL

댓글 (Comment)

  • 댓글아이디 (comment_id) — NOT NULL — 기본 키 — NOT NULL
  • 게시글아이디 (post_id) — NOT NULL — 외래 키 → 게시글.게시글아이디 — NOT NULL
  • 사용자아이디 (user_id) — NOT NULL — 외래 키 → 사용자.사용자아이디 — NOT NULL
  • 내용 (comment_content) — NOT NULL
  • 작성일시 (comment_created_date) — NOT NULL
  • 수정일시 (comment_update_date) — NOT NULL

사용자 (User)

  • 사용자아이디 (user_id) — NOT NULL — 기본 키 — NOT NULL
  • 비밀번호 (user_password) — NOT NULL
  • ID등록일시 (user_created_date) — NOT NULL