board
Tables (3)
Comments (댓글)
- id (comment_id) — Primary key — NOT NULL
- 내용 (comment)
- 생성날짜 (create_date)
- id (post_id) — Foreign key → Posts.id — NOT NULL
- id (user id) — Foreign key → User.id — NOT NULL
Posts (게시글)
- id (post_id) — Primary key — NOT NULL
- 제목 (title)
- 본문 (content)
- 조회수 (view)
- 생성날짜 (create_date)
- id (user id) — Foreign key → User.id — NOT NULL
User (사용자)
- id (user id) — Primary key — NOT NULL
- 이름 (name)
- 닉네임 (nickname)
- 이메일 (email)
- 아이디 (id)
- 비밀번호 (password)
- 생성 날짜 (create_date)
- 수정 날짜 (edit_date)