sparta_overflow
Tables (3)
answer (답변)
- id (replyId) — int — Primary key — NOT NULL
- id (boardId) — int — Foreign key → board.id — NOT NULL
- 유저id (userId) — int — Foreign key → board.유저id — NOT NULL
- id (userId2) — int — Foreign key → users.id — NOT NULL
- 내용 (content) — String — NOT NULL
- 생성일시 (createdAt) — Date — NOT NULL
- 수정일시 (updatedAt) — Date
- 답변채택 (selected) — boolean
board (게시판)
- id (boardId) — int — Primary key — NOT NULL
- 유저id (userId) — int — Foreign key → users.id — NOT NULL
- 제목 (title) — String — NOT NULL
- 내용 (content) — String — NOT NULL
- 생성일시 (createdAt) — Date
- 수정일시 (updatedAt) — Date
users (회원)
- id (userId) — int — Primary key — NOT NULL
- 이메일 (email) — String
- 닉네임 (nickname) — String
- 비밀번호 (password) — String
- 유저 타입 (userType) — String
- 생성일시 (createdAt) — Date
- 수정일시 (updatedAt) — Date