멋사 토이프로젝트

테이블 (3)

comment (comment_table)

  • 댓글 아이디 (id) — Integer — 기본 키 — NOT NULL
  • 방병록 아이디 (guestbook_id) — Integer — 외래 키 → guestbook.아이디 — NOT NULL
  • 작성자 (writer) — Text
  • 내용 (comment) — Text
  • 비밀번호 (password) — Text
  • 작성시간 (created_at) — Datetime

guestbook (guestbook_table)

  • 아이디 (id) — Integer — 기본 키 — NOT NULL
  • 제목 (title) — Text
  • 작성자 (writer) — Text
  • 내용 (content) — Text
  • 비밀번호 (password) — Text
  • 작성시간 (created_at) — Datetime

recommend (recommend_table)

  • 추천 아이디 (id) — Integer — 기본 키 — NOT NULL
  • 방명록 아이디 (guestbook_id) — Integer — 외래 키 → guestbook.아이디 — NOT NULL
  • 중복 추천 방지 (device_id) — Text