enssel_task

테이블 (10)

게시글 (posts)

  • 게시글ID (id) — not null — 기본 키 — NOT NULL
  • 제목 (title) — not null
  • 본문 (content) — not null
  • 작성자 (author) — not null
  • 비밀번호 (password) — not null
  • 작성 일시 (created_at) — not null
  • 수정 일시 (updated_at) — not null
  • 조회수 (view_count) — not null
  • Field (like_count)

게시글 (CopyOfposts)

  • 게시글ID (post_id) — not null — 기본 키 — NOT NULL
  • 제목 (title) — not null
  • 본문 (content) — not null
  • 작성자 (author)
  • 조회수 (view_count)
  • 작성 일시 (created_at)
  • 수정 일시 (updated_at)

게시글_해시태그 (post_tags)

  • 게시물_해시태그ID (post_tag_id) — not null — 기본 키 — NOT NULL
  • 게시글ID (post_id) — not null — 외래 키 → 게시글.게시글ID — NOT NULL
  • 해시태그ID (tag_id2) — not null — 외래 키 → 해시태그.해시태그ID — NOT NULL

게시글_해시태그 (CopyOfpost_tags)

  • 게시물_해시태그ID (post_tag_id) — not null — 기본 키 — NOT NULL

댓글 (comments)

  • 댓글ID (comment_id) — not null — 기본 키 — NOT NULL
  • 본문 (content) — not null
  • 삭제여부 (is_deleted) — not null
  • 작성일 (created_at) — not null
  • 게시글ID (post_id) — not null — 외래 키 → 게시글.게시글ID — NOT NULL
  • 작성자 (author) — not null

댓글 (CopyOfcomments)

  • 댓글ID (comment_id) — not null — 기본 키 — NOT NULL
  • 본문 (content)
  • 삭제여부 (is_deleted)
  • 작성일 (created_at)
  • Field

좋아요 (likes)

  • 좋아요ID (id) — not null — 기본 키 — NOT NULL
  • 게시글ID (post_id) — not null — 외래 키 → 게시글.게시글ID — NOT NULL
  • 작성자 (author)

좋아요 (CopyOflikes)

  • 좋아요ID (like_id) — not null — 기본 키 — NOT NULL

해시태그 (tags)

  • 해시태그ID (tag_id) — not null — 기본 키 — NOT NULL
  • Field

해시태그 (CopyOftags)

  • 해시태그ID (tag_id) — not null — 기본 키 — NOT NULL
  • Field