dbms_test
테이블 (6)
게시판 (bord_mst)
- 게시판아이디 (bord_id) — not null — 기본 키 — NOT NULL
- 게시판제목 (bord_title) — not null
- 게시판내용 (bord_content) — not null
- 회원아이디 (user_id) — not null — 외래 키 → 회원정보.회원아이디 — NOT NULL
글 (board_mst)
- 글 번호 (board_id) — not null — 기본 키 — NOT NULL
- 제목 (title) — not null
- 내용 (board_content) — not null
- 작성일 (create_date) — not null
- 수정일 (update_date) — not null
- 저자번호 (author_id) — not null
다대다 (author_board_relation)
- 저자번호 (author_id) — not null — 외래 키 → 저자.저자번호 — NOT NULL
- 글 번호 (board_id) — not null — 외래 키 → 글.글 번호 — NOT NULL
댓글 (comment_mst)
- 댓글 번호 (reple_id) — not null — 기본 키 — NOT NULL
- 글 번호 (board_id) — not null — 외래 키 → 글.글 번호 — NOT NULL
- 본문 (comment_content) — not null
- 저자번호 (author_id) — not null — 외래 키 → 저자.저자번호 — NOT NULL
- 작성일 (create_date) — not null
- 수정일 (update_date) — not null
저자 (author_mst)
- 저자번호 (author_id) — not null — 기본 키 — NOT NULL
- 이름 (author_name) — not null
- 소개 (introduction) — not null
- 생성일 (create_date) — not null
- 수정일 (update_date) — not null
회원정보 (user_mst)
- 회원아이디 (user_id) — not null — 기본 키 — NOT NULL
- 회원 이름 (user_name) — not null
- 회원이메일 (user_email) — NULL