게시판 만들기
테이블 (3)
board (게시판)
- board_no (게시판번호) — Number — 기본 키 — NOT NULL
- board_title (제목) — String
- board_content (내용) — String
- board_date (작성일) — Date
- board_count (조회수) — Number
- writer (작성자) — String — 외래 키 → user.user_no — NOT NULL
- board_update_date (수정일) — Date
comment (댓글)
- comment_no (댓글번호) — Number — 기본 키 — NOT NULL
- comment_content (댓글내용) — String
- comment_date (댓글작성일) — Date
- writer (작성자) — String — 외래 키 → user.user_no — NOT NULL
- ref_board_no (게시판번호) — Number — 외래 키 → board.board_no — NOT NULL
user (회원)
- user_no (회원번호) — Number — 기본 키 — NOT NULL
- id (아이디) — String
- pw (비밀번호) — String
- name (이름) — String