롤체지지

테이블 (5)

author (저자)

  • 저자 아이디 (id) — int — 기본 키 — NOT NULL
  • 이름 (name) — vachar(15)
  • 자기소개 (profile) — varchar(100)
  • 가입일 (created) — datetime

comment (댓글)

  • 댓글 아이디 (id) — int — 기본 키 — NOT NULL
  • 본문 (desciption) — text
  • 작성일 (created) — datetime
  • 글 아이디 (topic_id) — int — 외래 키 → topic.글 아이디 — NOT NULL
  • 저자 아이디 (author_id) — int — 외래 키 → author.저자 아이디 — NOT NULL

dormant (휴면자)

  • 휴면 아이디 (author_id) — int — 기본 키 — NOT NULL
  • 휴면일 (created) — datetime
  • 저자 아이디 (author_dormant_id) — int — 외래 키 → author.저자 아이디 — NOT NULL

topic (글)

  • 글 아이디 (id) — int — 기본 키 — NOT NULL
  • 제목 (title) — vachar(30)
  • 본문 (description) — text
  • 작성일 (created) — datetime

write (작성)

  • 작성 아이디 (write_id) — int — 기본 키 — NOT NULL
  • 저자 아이디 (author_id) — int — 외래 키 → author.저자 아이디 — NOT NULL
  • 글 아이디 (topic_id) — int — 외래 키 → topic.글 아이디 — NOT NULL
  • Field (created) — datetime