팬카페
테이블 (4)
게시글 (post)
- 번호 (po_num) — int auto_increment — 기본 키 — NOT NULL
- 제목 (po_title) — text not null
- 내용 (po_content) — longtext not null
- 날짜 (po_date) — datetime not null
- 조회수 (po_view) — int not null default 0
- 게시판 번호 (po_bd_num) — int — 외래 키 → 게시판.번호 — NOT NULL
- 아이디 (po_me_id) — varchar(10) — 외래 키 → 회원.아이디 — NOT NULL
게시판 (board)
- 번호 (bd_num) — int — 기본 키 — NOT NULL
- 이름 (bd_title) — longtext not null
권한 (approve)
- 권한 등급 (ap_level) — varchar(3) not null default "비회원"
회원 (member)
- 아이디 (me_id) — varchar(10) — 기본 키 — NOT NULL
- 비밀번호 (me_pw) — varchar(20) not null
- 닉네임 (me_name) — varchar(10) not null unique
- 성별 (me_gender) — char(1) not null
- 생년월일 (me_birth) — char(6) not null
- 가입인사 (me_content) — longtext not null