하드웨어 커뮤니티 프로젝트(Mysql)
테이블 (10)
게시글추천 (board_recommend)
- 관리번호 (ID) — not null — 기본 키 — NOT NULL
- 게시글번호 (board_no) — not null — 외래 키 → 게시판.게시글번호 — NOT NULL
- 추천유저 (recommend_num) — not null
게시판 (board)
- 게시글번호 (board_no) — not null — 기본 키 — NOT NULL
- 작성자 (user_num) — not null — 외래 키 → 회원.회원번호 — NOT NULL
- 작성일자 (write_date) — not null
- 제목 (title) — not null
- 내용 (content)
- 조회수 (hit)
게시판파일 (uploadfile)
- 게시글번호 (board_no) — not null — 외래 키 → 게시판.게시글번호 — NOT NULL
- 원본파일명 (filename_ori) — not null
- 저장파일명 (filename_saved) — not null
대댓글 (nested_comment)
- 대댓글번호 (nested_comment_no) — not null — 기본 키
- 댓글번호 (comment_no) — not null — 외래 키 → 댓글.댓글번호 — NOT NULL
- 작성자 (user_num) — not null
- 작성일자 (write_date) — not null
- 내용 (content) — not null
대댓글추천 (nestedcomment_recommend)
- 관리번호 (ID) — not null — 기본 키 — NOT NULL
- 대댓글번호 (comment_comment_no) — not null — 외래 키 → 대댓글.대댓글번호
- 추천유저 (recommend_num) — not null
댓글 (comment)
- 댓글번호 (comment_no) — not null — 기본 키 — NOT NULL
- 게시글번호 (board_no) — not null — 외래 키 → 게시판.게시글번호 — NOT NULL
- 작성자 (user_num) — not null
- 작성일자 (write_date) — not null
- 내용 (content) — not null
댓글추천 (comment_recommend)
- 관리번호 (ID) — not null — 기본 키 — NOT NULL
- 댓글번호 (comment_no) — not null — 외래 키 → 댓글.댓글번호 — NOT NULL
- 추천유저 (recommend_num) — not null
이미지파일 (uploadimg)
- 게시글번호 (board_no) — not null — 외래 키 → 게시판.게시글번호 — NOT NULL
- 원본파일명 (filename_ori) — not null
- 저장파일명 (filename_saved) — not null
카테고리 (category)
- 게시글번호 (board_no) — not null — 외래 키 → 게시판.게시글번호 — NOT NULL
- 카테고리명 (category) — not null
회원 (users)
- 회원번호 (user_num) — not null — 기본 키 — NOT NULL
- 아이디 (ID) — not null
- 닉네임 (nick) — not null
- 비밀번호 (password) — not null
- 이메일 (email) — not null
- 차단여부 (ban)
- 차단일자 (ban_date)
- 회원등급 (role) — not null