ddu-du-ddu-du

테이블 (5)

공유목록 (Share_List)

  • 일정번호 (todo_num) — Int — 외래 키 → 일정.일정번호 — NOT NULL
  • 유저번호 (user_num) — Int — 외래 키 → 유저.유저번호 — NOT NULL

유저 (User)

  • 유저번호 (user_num) — Int — 기본 키 — NOT NULL
  • 유저 ID (user_id) — String — NOT NULL
  • 비밀번호 (user_pw) — String — NOT NULL
  • 유저 이름 (username) — String — NOT NULL

일정 (Todo)

  • 일정번호 (todo_num) — Int — 기본 키 — NOT NULL
  • 유저번호 (user_num) — Int — 외래 키 → 유저.유저번호 — NOT NULL
  • 일정 내용 (content) — String — NOT NULL
  • 날짜 (date) — date — NOT NULL
  • 시간 (time) — String
  • 일정 분류 (category) — String — NOT NULL
  • 공유여부 (is_shared) — Boolean
  • 공개여부 (is_open) — Boolean

팔로워 (Follower)

  • 유저번호 (user_num) — Int — 외래 키 → 유저.유저번호 — NOT NULL
  • 팔로워 번호 (follower_id) — Int — NOT NULL

팔로잉 (Following)

  • 유저번호 (user_num) — Int — 외래 키 → 유저.유저번호 — NOT NULL
  • 팔로잉 번호 (following_num) — Int — NOT NULL