Blog
Tables (5)
FILE (파일)
- 자료번호 (file_idx) — NOTNULL — Primary key — NOT NULL
- 참조번호 (file_ref_idx) — NOTNULL
- 타입 (file_type) — NOTNULL
- 자료URL (file_url) — NOTNULL
- 등록일자 (file_date) — NOTNULL
- 삭제일자 (file_delete)
LIKE (좋아요)
- 좋아요번호 (like_idx) — NOTNULL — Primary key — NOT NULL
- 등록일자 (create_date)
- 수정일자 (update_date)
- 삭제일자 (delete_date)
- 게시글번호 (post_idx) — NOTNULL — Foreign key → POST.게시글번호 — NOT NULL
- 회원번호 (member_idx) — NOTNULL — Foreign key → MEMBER.회원번호 — NOT NULL
MEMBER (사용자)
- 회원번호 (member_idx) — NOTNULL — Primary key — NOT NULL
- 아이디 (id) — NOTNULL
- 비밀번호 (password) — NOTNULL
- 닉네임 (nick_name) — NOTNULL
- 생년월일 (birth) — NOTNULL
- 회원구분 (role_type) — NOTNULL
- 가입일자 (create_date) — NOTNULL
- 수정일자 (update_date)
- 탈퇴일자 (delete_date)
POST (게시글)
- 게시글번호 (post_idx) — NOTNULL — Primary key — NOT NULL
- 게시글제목 (post_title) — NOTNULL
- 게시글내용 (post_content) — NOTNULL
- 등록일자 (create_date) — NOTNULL
- 수정일자 (update_date)
- 삭제일자 (delete_date)
- 회원번호 (member_idx) — NOTNULL — Foreign key → MEMBER.회원번호 — NOT NULL
POST_COMMENT (댓글)
- 댓글번호 (comment_idx) — NOTNULL — Primary key — NOT NULL
- 댓글내용 (comment_content) — NOTNULL
- 등록일자 (create_date) — NOTNULL
- 수정일자 (update_date)
- 삭제일자 (delete_date)
- 게시글번호 (post_idx) — NOTNULL — Foreign key → POST.게시글번호 — NOT NULL
- 회원번호 (member_idx) — NOTNULL — Foreign key → MEMBER.회원번호 — NOT NULL