content

Tables (5)

author (저자)

  • 저자 아이디 (id) — int — Primary key — NOT NULL
  • 이름 (name) — VARCHAR(15)
  • 자기소개 (profile) — VARCHAR(100)
  • 작성일 (created) — DATETIME

comment

  • 댓글 아이디 (id) — int — Primary key — NOT NULL
  • 글 아이디 (topic_id) — int — Foreign key → topic.글 아이디 — NOT NULL
  • 저자 아이디 (author_id) — int — Foreign key → author.저자 아이디 — NOT NULL
  • 본문 (description) — TEXT
  • 작성일 (created)

dormancy (휴면자)

  • 저자 아이디 (author_id) — int — Foreign key → author.저자 아이디 — NOT NULL
  • 생성일 (profile) — DATETIME

topic

  • 글 아이디 (id) — int — Primary key — NOT NULL
  • 제목 (title) — VARCHAR(30)
  • 본문 (description) — TEXT
  • 작성일 (created) — DATETIME

write

  • 글 아이디 (topic_id) — int — Foreign key → topic.글 아이디 — NOT NULL
  • 저자 아이디 (author_id) — int — Foreign key → author.저자 아이디 — NOT NULL
  • 작성일 (created) — DATETIME