costudy-erd

테이블 (6)

모집글 (RecruitEssay)

  • 모집글PK (recruit_essay_id) — int — 기본 키 — NOT NULL
  • 유저식별번호 (user_id) — string — 외래 키 → 사용자.유저PK — NOT NULL

모집글댓글 (RecruitEssayComment)

  • 모집글댓글PK (recruit_essay_comment_id) — 기본 키
  • 모집글PK (recruit_essay_id) — int — 외래 키 → 모집글.모집글PK — NOT NULL
  • 유저식별번호 (user_id) — string — 외래 키 → 사용자.유저PK — NOT NULL

사용자 (User)

  • 유저PK (user_id) — string — 기본 키 — NOT NULL

소속하다 (Belong)

  • 소속PK (belong_id) — 기본 키
  • 유저식별번호 (user_id) — string — 외래 키 → 사용자.유저PK — NOT NULL
  • 스터디룸PK (study_room_id) — 외래 키 → 스터디룸.스터디룸PK

스터디룸 (StudyRoom)

  • 스터디룸PK (study_room_id) — 기본 키
  • 모집글PK (recruit_essay_id) — int — 외래 키 → 모집글.모집글PK — NOT NULL

스터디룸글 (StduyRoomEssay)

  • 스터디룸글PK (study_room_essay_id) — 기본 키
  • 스터디룸PK (study_room_id) — 외래 키 → 스터디룸.스터디룸PK