SpringCH5

테이블 (3)

댓글 (comment)

  • 댓글 ID (id) — NOT NULL — 기본 키 — NOT NULL
  • 일정 ID (scedule_id) — NOT NULL — 외래 키 → 일정.일정 ID — NOT NULL
  • 내용 (content) — Not null
  • 작성일 (created_at) — Not null
  • 수정일 (upeated_at) — Not null

댓댓글 (reply)

  • 댓댓글 ID (id) — NOT NULL — 기본 키 — NOT NULL
  • 댓글 ID (comment_id) — NOT NULL — 외래 키 → 댓글.댓글 ID — NOT NULL
  • 내용 (content) — Not null
  • 작성일 (created_at) — Not null
  • 수정일 (upeated_at) — Not null

일정 (schedule)

  • 일정 ID (id) — NOT NULL — 기본 키 — NOT NULL
  • 제목 (name) — Not null
  • 내용 (content) — Not null
  • 작성일 (created_at) — Not null
  • 수정일 (upeated_at) — Not null
  • 작성자 ID (writer_id) — Not null