side
테이블 (19)
게시글 (post)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 내용 (content) — Text — NOT NULL
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
- 제목 (title) — Varchar(50) — NOT NULL
- 삭제 여부 (is_deleted) — bit(1)
- 좋아요 수 (like_count) — int — NOT NULL
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
게시글 좋아요 (post_like)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
- 고유 아이디 (post_id) — bigint — 외래 키 → 게시글.고유 아이디
- 상태 (status) — bit(1) — NOT NULL
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
경력 (career)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 입사 연도 (started_at) — int
- 퇴사 연도 (ended_at) — int
- 회사 (company) — Varchar(30) — NOT NULL
- 직함 (title) — Varchar(30) — NOT NULL
- 재직 여부 (is_attendanced) — bit(1)
- 내용 (content) — Text — NOT NULL
- 고유 아이디 (resume_id) — bigint — 외래 키 → 이력서.고유 아이디
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
- 삭제 여부 (is_deleted) — bit(1)
경력 (Career)
- Key — 기본 키 — NOT NULL
- Field
- 고유 아이디 (resume_id) — 외래 키 → 이력서.Key — NOT NULL
교육 (education)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 기관 (Institution) — Varchar(30) — NOT NULL
- 전공/과정 (process) — Varchar(30) — NOT NULL
- 시작 연도 (started_at) — int
- 종료 연도 (ended_at) — int
- 내용 (content) — Text
- 고유 아이디 (resume_id) — bigint — 외래 키 → 이력서.고유 아이디
- 진행 여부 (is_processed) — bit(1)
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
- 삭제 여부 (is_deleted) — bit(1)
교육 (Education)
- Key — 기본 키 — NOT NULL
- Field
- 고유 아이디 (resume_id) — 외래 키 → 이력서.Key — NOT NULL
댓글 (comment)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 내용 (content) — Text — NOT NULL
- 고유 아이디 (post_id) — bigint — 외래 키 → 게시글.고유 아이디
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
- 삭제 여부 (is_deleted) — bit(1)
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
사용자 (users)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 프로필 사진 URL (profile_image_url) — Text
- SNS 아이디 (sns_id) — Varchar(255) — NOT NULL
- 이메일 (email) — Varchar(50)
- 닉네임 (nickname) — Varchar(30) — NOT NULL
- 성별 (gender) — Varchar(10)
- 생년월일 (birthday) — Varchar(10)
- 나이 연령대 (age_range) — Varchar(20)
- 휴대전화 번호 (phone_number) — Varchar(50)
- oauth 제공자 (oauth_provider) — Varchar(20) — NOT NULL
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
사용자 (Users)
- Key — 기본 키 — NOT NULL
- Field
사진/영상 (multimedia)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 사진/영상 URL (media_url) — Text — NOT NULL
- 고유 아이디 (post_id) — bigint — 외래 키 → 게시글.고유 아이디
- 삭제 여부 (is_deleted) — bit(1)
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
알림 (notification)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 내용 (content) — Varchar(50) — NOT NULL
- 읽음 여부 (is_read) — bit(1)
- url — Varchar(100) — NOT NULL
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
이력서 (resume)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 소개글 (introduce) — Text
- 사진 URL (photo_url) — Text
- 직종 (occupation) — Varchar(30) — NOT NULL
- 공개 여부 (is_opened) — bit(1)
- 이름 (name) — Varchar(30) — NOT NULL
- 삭제 여부 (is_deleted) — bit(1)
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
- 열람 횟수 (view_count) — int — NOT NULL
이력서 (Resume)
- Key — 기본 키 — NOT NULL
- Field
- 고유 아이디 (user_id) — 외래 키 → 사용자.Key — NOT NULL
- 공개 여부 (is_opened)
이력서 열람 (resumeView)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
- 고유 아이디 (resime_id) — bigint — 외래 키 → 이력서.고유 아이디
자격증 (Certificate)
- Key — 기본 키 — NOT NULL
- Field
- 고유 아이디 (resume_id) — 외래 키 → 이력서.Key — NOT NULL
자격증 (certificate)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 이름 (name) — Varchar(30) — NOT NULL
- 점수/등급 (rating) — Varchar(30) — NOT NULL
- 발행 연도 (issued_year) — int — NOT NULL
- 발행 월 (issued_month) — int — NOT NULL
- 고유 아이디 (resume_id) — Long — 외래 키 → 이력서.고유 아이디
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
- 발행 여부 (is_issued) — bit(1)
- 삭제 여부 (is_deleted) — bit(1)
채팅 메세지 (chat_message)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 내용 (content) — Text — NOT NULL
- 고유 아이디 (chat_room_id) — bigint — 외래 키 → 채팅방.고유 아이디
- 고유 아이디 (user_id) — bigint — 외래 키 → 사용자.고유 아이디
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
채팅방 (chat_room)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)
채팅방 참여 인원 (chat_room_members)
- 고유 아이디 (id) — bigint — 기본 키 — NOT NULL
- 고유 아이디 (chat_room_id) — bigint — 외래 키 → 사용자.고유 아이디
- 고유 아이디 (user_id) — bigint — 외래 키 → 채팅방.고유 아이디
- 삭제 여부 (is_deleted) — bit(1)
- 채팅방 이름 (room_name) — Varchar(30)
- 생성 일자 (created_at) — datetime(6)
- 수정 일자 (last_modified_date) — datetime(6)