demo

Tables (7)

Comments (Untitled3)

  • 댓글 고유 식별자 (id) — Primary key — NOT NULL
  • 유저 고유 번호(UUID) (authorUuid) — NOT NULL — Foreign key → User.유저 고유 번호 — NOT NULL
  • 게시글 고유 번호 (post_id) — Foreign key → Posts.게시글 고유 번호 — NOT NULL
  • 댓글 내용 (content)
  • 생성일자 (created_at)

Follows (Untitled6)

  • 팔로우 관계 고유 식별자 (id) — Primary key — NOT NULL
  • 팔로워 id (followerUuid) — NOT NULL — Foreign key → User.유저 고유 번호 — NOT NULL
  • 팔로잉 id (followingUuid) — NOT NULL — Foreign key → User.유저 고유 번호 — NOT NULL
  • 생성일자 (createdAt)

Likes (Untitled4)

  • Key (id) — Primary key — NOT NULL
  • 유저 고유 번호(UUID) (user_id) — NOT NULL — Foreign key → User.유저 고유 번호 — NOT NULL
  • 피드 고유 번호(UUID) (post_id) — Foreign key → Posts.게시글 고유 번호 — NOT NULL

Posts (Untitled2)

  • 게시글 고유 번호 (id) — NOT NULL — Primary key — NOT NULL
  • 유저 고유 번호(UUID) (author) — NOT NULL — Foreign key → User.유저 고유 번호 — NOT NULL
  • 내용 (content)
  • 생성일자 (created_at)
  • 좋아요 수 (liked_count)
  • 댓글 수 (comment_count)
  • 삭제 타이머 (timer)
  • 게시글 이미지 path (image) — NOT NULL
  • 삭제 여부 (status)

Profile_image (CopyOfUntitled5)

  • 이미지 고유 번호 (id) — Primary key — NOT NULL
  • 유저 고유 번호 (member_id) — NOT NULL — Foreign key → User.유저 고유 번호 — NOT NULL
  • 프로필 이미지 경로 (file_path)

User (Untitled)

  • 유저 고유 번호 (id) — NOT NULL — Primary key — NOT NULL
  • 유저 uuid (user_uuid) — NOT NULL
  • 이메일 (email) — UNIQUE — NOT NULL
  • 비밀번호 (password)
  • 이름 (name)
  • 닉네임 (nickname) — UNIQUE
  • 프로필 이미지 path (profile_image_path)
  • 생성일자 (createdAt)
  • 수정일자 (update_at)

post_image (Untitled5)

  • 이미지 고유 번호 (id) — Primary key — NOT NULL
  • 피드 고유 번호 (post_id) — Foreign key → Posts.게시글 고유 번호 — NOT NULL
  • 피드 이미지 경로 (post_image_path)