Piro16

테이블 (16)

게시글 (Post)

  • 게시글ID (post_id) — NOT NULL — 기본 키 — NOT NULL
  • 제목 (post_title) — NOT NULL — NOT NULL
  • 내용 (post_content) — NOT NULL — NOT NULL
  • 태그된 유저ID (tagged_user_ID) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL

게시글_해시태그 (post_hashtag)

  • 게시글ID (post_id) — NOT NULL — 외래 키 → 게시글.게시글ID — NOT NULL
  • 태그 내용 (hashtag_content) — NOT NULL — NOT NULL

대댓글 (re-comment)

  • 댓글ID (comment_id) — NOT NULL — 외래 키 → 댓글.댓글ID — NOT NULL
  • 대댓글ID (recomment_id) — NOT NULL — 외래 키 → 댓글.댓글ID — NOT NULL

댓글 (comment)

  • 댓글ID (comment_id) — NOT NULL — 기본 키 — NOT NULL
  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 내용 (comment_content) — NOT NULL — NOT NULL
  • 등록날짜 (comment_created_at) — NOT NULL
  • 게시글ID (post_id) — NOT NULL — 외래 키 → 게시글.게시글ID — NOT NULL
  • 태그된 유저ID (tagged_user_ID) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL

반응 (reaction)

  • 반응ID (reaction_id) — NOT NULL — 기본 키 — NOT NULL
  • 반응 (reaction_content) — NOT NULL

알림 (Reminder)

  • 알림ID (reminder_id) — NOT NULL — 기본 키 — NOT NULL
  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 내용 (reminder_content) — NOT NULL — NOT NULL
  • 알림 시간 (reminder_time) — NOT NULL — NOT NULL

유저 (User)

  • 유저ID (user_id) — NOT NULL — 기본 키 — NOT NULL
  • 이름 (user_name) — NOT NULL — NOT NULL
  • 전화번호 (user_phonenum) — NOT NULL — NOT NULL
  • 비밀번호 (password) — NOT NULL — NOT NULL

유저_게시글_등록 (User_Post_Create)

  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 게시글ID (post_id) — NOT NULL — 외래 키 → 게시글.게시글ID — NOT NULL
  • 등록일자 (user_post_create_datetime) — NOT NULL — NOT NULL

유저_게시글_반응 (user_post_react)

  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 게시글ID (post_id) — NOT NULL — 외래 키 → 게시글.게시글ID — NOT NULL
  • 반응ID (reaction_id) — NOT NULL — 외래 키 → 반응.반응ID — NOT NULL

유저_게시글_수정 (User_Post_Update)

  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 게시글ID (post_id) — NOT NULL — 외래 키 → 게시글.게시글ID — NOT NULL
  • 수정일자 (user_post_update_datetime) — NOT NULL — NOT NULL

유저_댓글_반응 (Untitled)

  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 댓글ID (comment_id) — NOT NULL — 외래 키 → 댓글.댓글ID — NOT NULL
  • 반응ID (reaction_id) — NOT NULL — 외래 키 → 반응.반응ID — NOT NULL

주거 (live_in)

  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 주소ID (adress_id) — NOT NULL — 외래 키 → 주소.주소ID — NOT NULL

주소 (adress)

  • 주소ID (adress_id) — NOT NULL — 기본 키 — NOT NULL
  • 주소 (adress) — NOT NULL — NOT NULL
  • ZIpCode (ZipCode) — NOT NULL — NOT NULL

출신 (is_from)

  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 주소ID (adress_id) — NOT NULL — 외래 키 → 주소.주소ID — NOT NULL

친구 (Friendship)

  • user_request (request_user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • user_accept (accept_user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 수락 날짜 (accepted_datetime) — NOT NULL — NOT NULL

학력 (education)

  • 학력ID (education_id) — NOT NULL — 기본 키 — NOT NULL
  • 유저ID (user_id) — NOT NULL — 외래 키 → 유저.유저ID — NOT NULL
  • 학력 (education) — NOTNULL — NOT NULL
  • 학력 상태 (education_status) — NOTNULL — NOT NULL