InterBox
Tables (6)
Answer (답변)
- answer_id (답변 아이디) — bigint — Primary key — NOT NULL
- answer_content (답변 내용) — text
- user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL
- question_id (질문 아이디) — bigint — Foreign key → Question.question_id — NOT NULL
Job (직군)
- job_id (직군 아이디) — bigint — Primary key — NOT NULL
- job_type (직군 유형) — varchar(100)
Question (질문)
- question_id (질문 아이디) — bigint — Primary key — NOT NULL
- question_content (질문 내용) — text
- job_id (직군 아이디) — bigint — Foreign key → Job.job_id — NOT NULL
User (사용자)
- user_id (유저 아이디) — bigint — Primary key — NOT NULL
- nickname (닉네임) — varchar(100)
- email (이메일) — varchar(100)
- password (비밀번호) — varchar(100)
- platform (플랫폼) — text
- profile_image (프로필 이미지 주소) — text
- created_at (생성일) — LocalDate
- deleted_at (삭제일) — LocalDate
- updated_at (수정일) — LocalDate
UserQuestionStatus (유저_질문 답변 상태)
- user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL
- question_id (질문 아이디) — bigint — Foreign key → Question.question_id — NOT NULL
- is_solved (푼 여부) — tinyint
User_Job (유저_직군 매핑)
- user_id (유저 아이디) — bigint — Foreign key → User.user_id — NOT NULL
- job_id (직군 아이디) — bigint — Foreign key → Job.job_id — NOT NULL