project1
테이블 (3)
게시글 (article)
- idx — int — 기본 키 — NOT NULL
- 제목 (title) — varchar(20) — NOT NULL
- 내용 (content) — text — NOT NULL
- 작성시간 (write_date) — date — NOT NULL
- user_idx — int — 외래 키 → 유저.idx — NOT NULL
댓글 (comment)
- idx — int — 기본 키 — NOT NULL
- 작성시간 (write_date) — datetime — NOT NULL
- 내용 (content) — text — NOT NULL
- user_idx — int — 외래 키 → 유저.idx — NOT NULL
- article_idx — int — 외래 키 → 게시글.idx — NOT NULL
유저 (user)
- idx — int — 기본 키 — NOT NULL
- 메일 (email) — varchar(20) — NOT NULL
- 비번 (pw) — varchar(20) — NOT NULL
- 프로필 (profile) — text — NOT NULL
- user_uuid — CHAR(50) — NOT NULL
- 가입일 (date) — date — NOT NULL — 가입일
- 생년월일 (birth) — date
- 이름 (name) — char(10)