위어드섹터

테이블 (5)

profile (profiles)

  • Key (id) — int4 — 기본 키 — NOT NULL
  • 닉네임 (nickname) — text
  • 유저ID (user_id) — uuid — 외래 키 → 회원.Key — NOT NULL

대댓글 (comment_reply)

  • Key (id) — int4 — 기본 키 — NOT NULL
  • 닉네임 (nickname) — text
  • 대댓글 내용 (content) — text
  • 작성시간 (created_at) — timestamp
  • 유저ID (user_id) — uuid — 외래 키 → 회원.Key — NOT NULL
  • 댓글ID (comment_id) — int4 — 외래 키 → 댓글.Key — NOT NULL

대시보드 (dashboard)

  • Key (id) — int4 — 기본 키 — NOT NULL
  • 제목 (title) — text
  • 글내용 (content) — text
  • 파일이름 (file_attachment) — text
  • 해시태그 (hashtags) — text[]
  • 글쓴이 (author) — text
  • 작성 시간 (created_at) — timestamp
  • 조회수 (views) — int8
  • 게시판 종류 (boardType) — text
  • 유저ID (user_id) — uuid — 외래 키 → 회원.Key — NOT NULL

댓글 (comment)

  • Key (id) — int4 — 기본 키 — NOT NULL
  • 닉네임 (nickname) — text
  • 댓글 내용 (content) — text
  • 작성 시간 (created_at) — timestamp
  • 유저ID (user_id) — uuid — 외래 키 → 회원.Key — NOT NULL
  • 대시보드ID (dashboard_id) — int4 — 외래 키 → 대시보드.Key — NOT NULL

회원 (users)

  • Key (id) — int4 — 기본 키 — NOT NULL