jibro
테이블 (9)
관심 분야 (user_field)
- user_field_id (Key) — 기본 키 — NOT NULL
- user_id (회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- field_id (분야 ID) — 외래 키 → 분야.field_id — NOT NULL
- created_at (생성 일자) — NOT NULL
- updated_at (수정 일자) — NOT NULL
매칭 내역 (maching_history)
- maching_history_id (Key) — 기본 키 — NOT NULL
- departure (출발지) — NOT NULL
- destination (도착지) — NOT NULL
- requester (요청 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- approver (승인 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- created_at (생성 일자) — NOT NULL
분야 (field)
- field_id (Key) — 기본 키 — NOT NULL
- name (이름) — NOT NULL
- created_at (생성 일자) — NOT NULL
- updated_at (수정 일자) — NOT NULL
채팅 메세지 (chat_message)
- chat_message_id (Key) — 기본 키 — NOT NULL
- chat_room_id (채팅방 ID) — 외래 키 → 채팅방.chat_room_id — NOT NULL
- sender (발신 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- message (메세지) — NOT NULL
- read_flag (읽음 여부) — NOT NULL
- created_at (생성 일자) — NOT NULL
채팅방 (chat_room)
- chat_room_id (Key) — 기본 키 — NOT NULL
- approver (승인 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- requester (요청 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- created_at (생성 일자) — NOT NULL
평가 점수 (evaluation_score)
- evaluation_score_id (Key) — 기본 키 — NOT NULL
- score (점수) — NOT NULL
- review_id (후기 ID) — 외래 키 → 후기.review_id — NOT NULL
- evaluation_item_id (평가 항목 ID) — 외래 키 → 평가 항목.evaluation_item_id — NOT NULL
- created_at (생성 일자) — NOT NULL
평가 항목 (evaluation_item)
- evaluation_item_id (Key) — 기본 키 — NOT NULL
- content (내용) — NOT NULL
- created_at (생성 일자) — NOT NULL
회원 (User)
- user_id (Key) — 기본 키 — NOT NULL
- name (이름) — NOT NULL
- email (이메일) — NOT NULL
- image_url (프로필 이미지 url) — NOT NULL
- provider_type (가입 유형) — NOT NULL — NAVER, KAKAO
- job_type (소속) — NOT NULL — COMPANY, UNIVERSITY
- birth_date (생년월일) — NOT NULL
- house_address (자택 주소) — NOT NULL
- job_address (소속 주소) — NOT NULL
- nickname (닉네임) — NOT NULL
- gender (성별) — NOT NULL — M, F
- verify_house_location_flag (자택 위치 인증 여부) — NOT NULL
- verify_job_location_flag (소속 위치 인증 여부) — NOT NULL
- verify_job_email_flag (소속 이메일 인증 여부) — NOT NULL
- status (상태) — NOT NULL — ACTIVE, DEACTIVE, TALKING, MACHING
- manner_ temperature (매너 온도) — NOT NULL
- created_at (생성 일자) — NOT NULL
- updated_at (수정 일자) — NOT NULL
후기 (review)
- review_id (Key) — 기본 키 — NOT NULL
- description (서술형 후기)
- target (대상 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- reviewer (작성 회원 ID) — 외래 키 → 회원.user_id — NOT NULL
- created_at (생성 일자) — NOT NULL