springbott-blog
Tables (5)
board (Untitled2)
- 게시글 id (board_id) — auto_increment — Primary key — NOT NULL
- 제목 (title) — not null
- 조회수 (count) — not null
- 생성일 (createDate) — null
- 파일첨부확인 (fileAttached) — default 0
- 유저 id (user_id) — not null — Foreign key → user.유저 id — NOT NULL
file (Untitled6)
- 파일 id (file_id) — auto_increment — Primary key — NOT NULL
- 원본 파일명 (originalFileName) — null
- 저장된 파일명 (storedFileName) — null
- 게시글 id (board_id) — auto_increment — Foreign key → board.게시글 id — NOT NULL
reply (Untitled3)
- 댓글 id (reply_id) — auto_increment — Primary key — NOT NULL
- 내용 (content) — not null
- 생성일 (createDate) — null
- 유저 id (user_id) — not null — Foreign key → user.유저 id — NOT NULL
- 게시글 id (board_id) — null — Foreign key → board.게시글 id — NOT NULL
user (Untitled)
- 유저 id (user_id) — auto_increment — Primary key — NOT NULL
- 비밀번호 (password) — not null
- 이메일 (email) — null
- 생성일 (craeteDate) — null
- 인증 (oauth) — null
- 역할id (role_id) — null — Foreign key → user_role.역할id — NOT NULL
- 유저이름 (username) — unique
user_role (Untitled5)
- 역할id (role_id) — auto_increment — Primary key — NOT NULL
- 이름 (name) — not null