todo

테이블 (3)

댓글 (reply)

  • 댓글번호 (rp_id) — integer — 기본 키 — NOT NULL
  • 할일번호 (todo_id) — integer — 외래 키 → 할일목록.할일번호 — NOT NULL
  • 아이디 (user_id) — text — 외래 키 → 사용자.아이디 — NOT NULL
  • 내용 (content) — text
  • 입력일시 (create_at) — time

사용자 (users)

  • 아이디 (user_id) — text — 기본 키 — NOT NULL
  • 비밀번호 (password) — text
  • 권한 (role) — enum

할일목록 (todo_list)

  • 할일번호 (id) — integer — 기본 키 — NOT NULL
  • 아이디 (user_id) — text — 외래 키 → 사용자.아이디 — NOT NULL
  • 제목 (title) — text
  • 내용 (content) — text
  • 입력일시 (create_at) — time
  • 완료여부 (y_n) — boolean