CEOS21

Tables (7)

Comment (댓글)

  • 댓글고유아이디 (comment_id) — NOT NULL — Primary key — NOT NULL
  • 게시글고유아이디 (post_id) — NOT NULL — Foreign key → Post.게시글고유아이디 — NOT NULL
  • 회원고유아이디 (member_id) — NOT NULL — Foreign key → Post.회원고유아이디 — NOT NULL
  • 내용 (content)
  • 생성일 (created_at)
  • 댓글부모아이디 (parent_id) — NOT NULL — Foreign key → Comment.댓글고유아이디 — NOT NULL

Hashtag (해시태그)

  • 해시태그고유아이디 (hashtag_id) — bingint — Primary key — NOT NULL
  • 해시태그 (hashtag)

Like_Comment (댓글 좋아요)

  • 좋아요고유아이디 (like_id) — NOT NULL — Primary key — NOT NULL
  • 좋아요 (like)
  • 댓글고유아이디 (comment_id) — NOT NULL — Foreign key → Comment.댓글고유아이디 — NOT NULL
  • 회원고유아이디 (member_id) — NOT NULL — Foreign key → Comment.회원고유아이디 — NOT NULL
  • 생성일 (created_At)

Like_Post (Untitled)

  • 좋아요고유아이디 (post_like_id) — bingint — Primary key — NOT NULL
  • 생성일 (createdAt)
  • 게시글고유아이디 (post_id) — NOT NULL — Foreign key → Post.게시글고유아이디 — NOT NULL
  • 회원고유아이디 (member_id) — NOT NULL — Foreign key → Post.회원고유아이디 — NOT NULL

Member (회원)

  • 회원고유아이디 (member_id) — NOT NULL — Primary key — NOT NULL
  • 로그인 아이디 (login_id) — NOT NULL
  • 유저 비밀번호 (password) — NOT NULL
  • 이메일 (email)
  • 이름 (name)
  • 닉네임 (nickname)
  • 생성일 (created_at)

Post (게시글)

  • 게시글고유아이디 (post_id) — NOT NULL — Primary key — NOT NULL
  • 회원고유아이디 (member_id) — NOT NULL — Foreign key → Member.회원고유아이디 — NOT NULL
  • 제목 (title)
  • 내용 (content)
  • 사진 (image_url)
  • 생성일 (created_at)
  • 해시태그1 (hashtags)
  • 해시태그2 (hashtags2)
  • 해시태그3 (hashtag3)

Post_Hashtag (게시글_해시태그)

  • 테이블고유아이디 (post_hashtag_id) — bingint — Primary key — NOT NULL
  • 댓글고유아이디 (comment_id) — NOT NULL — Foreign key → Comment.댓글고유아이디 — NOT NULL
  • 게시글고유아이디 (post_id) — NOT NULL — Foreign key → Comment.게시글고유아이디 — NOT NULL
  • 회원고유아이디 (member_id) — NOT NULL — Foreign key → Comment.회원고유아이디 — NOT NULL