DGG

테이블 (14)

attached_file (Untitled2)

  • attached_file_id — 기본 키 — NOT NULL
  • post_or_chat_id
  • depth
  • file_url
  • created_at

book_club (독서 모임)

  • Key (book_club_id) — 독서모임아이디 — 기본 키 — NOT NULL
  • Field (uuid) — 방장 uuid
  • Field (book_id) — 책 아이디
  • Field (valid_date) — 유효시간
  • Field (is_open) — 공개여부
  • Field (secret_code) — 그룹 초대 비밀코드
  • Field (created_at) — 모임 생성 시각

comments (댓글)

  • comment_id — 기본 키 — NOT NULL
  • post_id
  • uuid
  • comment
  • created_at
  • updated_at

following_and_follower (팔로잉 /팔로워)

  • faf_id — 기본 키 — NOT NULL
  • following_uuid
  • follower_uuid
  • created_at

like (좋아요)

  • like_id — 기본 키 — NOT NULL
  • post_id
  • uuid
  • created_at

notification (알림)

  • noti_id — 기본 키 — NOT NULL
  • uuid
  • message
  • is_checked
  • created_at

posts (게시글)

  • post_id — 기본 키 — NOT NULL
  • uuid
  • book_id
  • content
  • tag
  • title
  • created_at
  • updated_at

모임 참여자 (participants)

  • Key (participant_id) — 독서모임 참여아이디 — 기본 키 — NOT NULL
  • Field (book_clue_id) — 독서모임 아이디
  • Field (uuid) — 독서모임 참여자 아이디
  • Field (is_active) — 활성화 여부
  • Field (created_at) — 모임 가입 시각

사용자 (user)

  • UUID — 기본 키
  • user_id
  • user_password
  • user_eamil
  • user_image
  • user_desc
  • created_at
  • updated_at

선호하는 장르 (perferred_genre)

  • pg_id — 기본 키 — NOT NULL
  • uuid
  • genre_id
  • created_at

장르 (genre)

  • genre_id — 기본 키 — NOT NULL
  • genre_name

채팅 (chatting)

  • Key (chat_id) — 기본 키 — NOT NULL
  • book_club_id
  • uuid
  • chat
  • created_at

채팅 공감 (chat_empathy)

  • id (Key) — 기본 키 — NOT NULL
  • chat_id
  • uuid
  • emotion_id
  • created_at

책 (Books)

  • book_id — 기본 키 — NOT NULL
  • genre_id
  • book_image
  • book_desc
  • book_author
  • book_publisher
  • created_at
  • uuid