TEST
테이블 (5)
글 (topic)
- 글 아이디 (id) — int — 기본 키 — NOT NULL
- 제목 (title) — varchar(30)
- 본문 (description) — text
- created (작성일) — datetime
댓글 (comment)
- 댓글 아이디 (id) — int — 기본 키 — NOT NULL
- 본문 (description) — text
- created — datetime
- 저자 아이디 (author_id) — int — 외래 키 → 저자.저자 아이디 — NOT NULL
- 글 아이디 (topic_id) — int — 외래 키 → 글.글 아이디 — NOT NULL
작성 (Write)
- 저자 아이디 (author_id) — int — 외래 키 → 저자.저자 아이디 — NOT NULL
- 글 아이디 (topic_id) — int — 외래 키 → 글.글 아이디 — NOT NULL
- 작성일 (created) — datetime
저자 (Author)
- 저자 아이디 (id) — int — 기본 키 — NOT NULL
- 이름 (name) — VARCHAR(10) — NOT NULL
- 자개소개 (profile) — VARCHAR(30)
- 가입일 (created) — datetime
휴먼자 (Dormant)
- 저자 아이디 (id) — int — 외래 키 → 저자.저자 아이디 — NOT NULL
- 생성일 (created) — datetime