devine-heo

Tables (14)

dev_bookmark (Untitled3)

  • id (Key) — bigint — Primary key — NOT NULL — id
  • developer_id — BIGINT — Foreign key → developer.developer_id — 개발자 프로필 ID
  • project_id — BIGINT — Foreign key → projects.project_id — 프로젝트 ID

developer

  • developer_id — BIGINT — Primary key — 개발자 프로필 ID
  • description (bio) — TEXT — 자기소개
  • github_url — VARCHAR(500) — GitHub 프로필 URL
  • github_username — VARCHAR(100) — NOT NULL — GitHub 사용자명
  • github_id (Field) — varchar — GitHub ID
  • location (Field2) — varchar — GitHub location
  • public_repo_count (Field3) — int — public repo 수 (git)
  • follower_count (Field4) — int — 팔로우 수 (git)
  • star_count (Field5) — int — 스타 수(git)
  • synced_at (Field6) — datetime — 최종동기화일시
  • user_id — BIGINT — Foreign key → member.user_id — 사용자 고유 ID

developer_tech_stacks

  • id — BIGINT — Primary key
  • proficiency — VARCHAR(20) — BASIC | INTERMEDIATE | ADVANCED
  • experience_months — INT — 해당 기술 사용 경험 (개월)
  • tech_stack_id — BIGINT — Foreign key → tech_stacks.tech_stack_id — 기술 스택 ID
  • analysis_id (id2) — BIGINT — Foreign key → report.analysis_id — 분석 결과 ID

matches

  • match_id — BIGINT — Primary key — 매칭 ID
  • status — VARCHAR(20) — SUGGESTED | ACCEPTED | REJECTED | EXPIRED
  • matched_at — TIMESTAMP — 매칭 완료 시간
  • created_at — TIMESTAMP
  • updated_at — TIMESTAMP
  • project_id — BIGINT — Foreign key → projects.project_id — 프로젝트 ID
  • developer_id — BIGINT — Foreign key → developer.developer_id — 개발자 프로필 ID

member

  • user_id — BIGINT — Primary key — 사용자 고유 ID
  • email — VARCHAR(255) — NOT NULL — 이메일 (로그인 ID)
  • password_hash — VARCHAR(255) — NOT NULL — 암호화된 비밀번호
  • name — VARCHAR(100) — NOT NULL — 사용자 이름
  • profile_image_url — VARCHAR(500) — 프로필 이미지 URL
  • created_at — TIMESTAMP — 생성일시
  • updated_at — TIMESTAMP — 수정일시
  • role_id — BIGINT — Foreign key → member_role.id — NOT NULL

member_role (권한/역할)

  • id — BIGINT — Primary key — NOT NULL
  • role_type (Field) — varchar — ADMIN | DEV | PM |DISIGN
  • Field2

pm

  • pm_id — BIGINT — Primary key — PM 프로필 ID
  • organization — VARCHAR(255) — 소속 조직/회사
  • position — VARCHAR(100) — 직책
  • bio — TEXT — 자기소개
  • contact — VARCHAR(255) — 연락처
  • created_at — TIMESTAMP
  • updated_at — TIMESTAMP
  • user_id — BIGINT — Foreign key → member.user_id — 사용자 고유 ID

pm_bookmark (Untitled2)

  • id (Key) — bigint — Primary key — NOT NULL — id
  • pm_id — BIGINT — Foreign key → pm.pm_id — PM 프로필 ID
  • developer_id — BIGINT — Foreign key → developer.developer_id — 개발자 프로필 ID

project_requirement (Untitled)

  • id (Key) — bigint — Primary key — NOT NULL — id
  • type (Field) — front | back | pm | design
  • required_count (Field2) — int — 모집인원
  • project_id — BIGINT — Foreign key → projects.project_id — 프로젝트 ID

project_tech_stacks

  • id — BIGINT — Primary key
  • required_level — VARCHAR(20) — BASIC | INTERMEDIATE | ADVANCED
  • is_primary — BOOLEAN — 핵심 기술 여부
  • project_id — BIGINT — Foreign key → projects.project_id — 프로젝트 ID
  • tech_stack_id — BIGINT — Foreign key → tech_stacks.tech_stack_id — 기술 스택 ID

projects

  • project_id — BIGINT — Primary key — 프로젝트 ID
  • title — VARCHAR(255) — NOT NULL — 프로젝트 제목
  • description — TEXT — NOT NULL — 프로젝트 상세 설명
  • status — VARCHAR(20) — RECRUITING | IN_PROGRESS | COMPLETED | CLOSED
  • duration_weeks — INT — 예상 프로젝트 기간 (주)
  • required_level — VARCHAR(20) — JUNIOR | MID | SENIOR | ANY
  • expected_start_date — DATE — 예상 시작일
  • recruitment_deadline — DATE — 모집 마감일
  • created_at — TIMESTAMP
  • updated_at — TIMESTAMP
  • pm_id — BIGINT — Foreign key → pm.pm_id — PM 프로필 ID
  • view_count (Field) — int — 조회수
  • category (Field2) — 프로젝트 유형
  • 진행방식 (Field3)

report

  • analysis_id (id) — BIGINT — Primary key — 분석 결과 ID
  • complexity_score — INT — 코드 복잡도 점수
  • code_quality_score — INT — 코드 품질 점수
  • commit_frequency_score — INT — 커밋 빈도 점수
  • collaboration_score — INT — 협업 능력 점수
  • project_scale_score — INT — 프로젝트 규모 점수
  • main_languages — JSON — 언어 비율 {"Python": 60, "JS": 30}
  • frameworks — JSON — 사용 프레임워크 "React", "Django"
  • total_commits — INT — 총 커밋 수
  • total_contributors — INT — 총 기여자 수
  • avg_commit_message_length — INT — 평균 커밋 메시지 길이
  • ai_summary — TEXT — AI가 생성한 개발자 분석 요약
  • key_strengths — JSON — 핵심 강점 "컴포넌트 설계", "API 연동"
  • analyzed_at — TIMESTAMP — 분석 완료 시간
  • repo_id — BIGINT — Foreign key → repository.repo_id — 레포지토리 ID

repository

  • repo_id — BIGINT — Primary key — 레포지토리 ID
  • github_repo_id — BIGINT — NOT NULL — GitHub 레포 ID
  • name — VARCHAR(255) — NOT NULL — 레포 이름
  • description — TEXT — 레포 설명
  • url — VARCHAR(500) — NOT NULL — GitHub 레포 URL
  • primary_language — VARCHAR(50) — 주 사용 언어
  • primary_rate (Field) — int — 주 사용 언어 비율
  • star_count (stars) — INT — 스타 수
  • fork_count (forks) — INT — 포크 수
  • is_analyzed — BOOLEAN — AI 분석 완료 여부
  • developer_id — BIGINT — Foreign key → developer.developer_id — 개발자 프로필 ID

tech_stacks

  • tech_stack_id — BIGINT — Primary key — 기술 스택 ID
  • name — VARCHAR(100) — NOT NULL — 기술 이름 (React, Python 등)
  • category — VARCHAR(20) — NOT NULL — LANGUAGE | FRAMEWORK | DATABASE | INFRA | TOOL
  • icon_url — VARCHAR(500) — 아이콘 이미지 URL
  • created_at — TIMESTAMP
  • INDEX — `idx_category`