runningmate

Tables (17)

code_info (유저코드정보)

  • user_id (유저 아이디) — Primary key — NOT NULL
  • code_id (코드 아이디) — Primary key — NOT NULL

code_info (코드정보)

  • code_id (코드아이디) — varchar — Foreign key → code_master.code_id — NOT NULL
  • value (코드값) — varchar
  • caption (코드 표기 text) — varchar

code_master (코드마스터)

  • code_id (코드아이디) — varchar — Primary key — NOT NULL

project (프로젝트)

  • project_id (프로젝트 아이디) — int — Primary key — NOT NULL
  • leader (프로젝트 리더) — varchar(50) — Foreign key → user.id — NOT NULL
  • title (프로젝트 명) — varchar(255)
  • begin_datetime (시작일) — datetime
  • end_datetime (종료일) — datetime
  • contents (상세 내용) — text
  • status (프로젝트 상태) — varchar(10)
  • on_off (온/오프라인 여부) — varchar(10)
  • 조회수 (views) — int

project_comment (프로젝트 코멘트)

  • project_comment_id (프로젝트 코멘트 아이디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • user_id (작성자 아이디) — varchar(50) — Foreign key → user.id — NOT NULL
  • contents (댓글 내용) — varchar(255)

project_join_answer (프로젝트 질문 답변)

  • project_join_answer_id (프로젝트 답변 아이디) — int — Primary key — NOT NULL
  • project_join_request_id (프로젝트 신청 질문 아이디) — int — Foreign key → project_join_question.project_join_request_id — NOT NULL
  • project_join_request_id (프로젝트 신청 아이디) — int — Foreign key → project_join_request.project_join_request_id — NOT NULL
  • answer (답변) — varchar(50)

project_join_question (프로젝트 신청 질문)

  • project_join_request_id (프로젝트 신청 질문 아이디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • project_position_id (프로젝트 포지션 아이디) — int — Foreign key → project_position.project_position_id — NOT NULL
  • question (질문) — varchar(100)

project_join_request (프로젝트 신청)

  • project_join_request_id (프로젝트 신청 아이디) — int — Primary key — NOT NULL
  • user_id (유저 아이디) — varchar(50) — Foreign key → user.id — NOT NULL
  • project_position_id (프로젝트 포지션 아이디) — int — Foreign key → project_position.project_position_id — NOT NULL

project_like (프로젝트 좋아요)

  • project_like_id (프로젝트 좋아요 아아디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • user_id (유저 아이디) — varchar(50) — Foreign key → user.id — NOT NULL

project_member_evaluation (프로젝트 멤버 평가)

  • project_member_evaluation_id (프로젝트 멤버 평가 아이디) — int — Primary key — NOT NULL
  • user_project_history_id (히스토리 아이디) — int — Foreign key → user_project_history.user_project_history_id — NOT NULL
  • rating (점수) — int
  • contents (내용) — varchar(255)
  • rater_id (평가자 아이디) — varchar(50)

project_position (프로젝트 포지션)

  • project_position_id (프로젝트 포지션 아이디) — int — Primary key — NOT NULL
  • project_position (프로젝트 포지션) — varchar(50)
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • user_id (유저 아이디) — varchar(50) — Foreign key → user.id — NOT NULL
  • max_user_cnt (모집 유저 수) — int

project_status_update_request (프로젝트 상태 변경 요청)

  • project_status_update_request_id (프로젝트 상태 변경 요청 아이디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • request_status (변경 요청 상태) — varchar(10)
  • threshold (임계치) — int

project_status_update_vote (프로젝트 상태 변경 투표)

  • project_status_update_vote_id (프로젝트 상태 변경 투표 아이디) — int — Primary key — NOT NULL
  • vote (투표) — boolean
  • project_position_id (프로젝트 포지션 아이디) — int — Foreign key → project_position.project_position_id — NOT NULL
  • project_status_update_request_id (프로젝트 상태 변경 요청 아이디) — int — Foreign key → project_status_update_request.project_status_update_request_id — NOT NULL

project_use_skill (프로젝트 기술 스택)

  • project_use_skill_id (프로젝트 기술 스택 아이디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • skill (기술) — varchar(20)

user (유저)

  • id (아이디) — varchar(50) — Primary key — NOT NULL
  • password (비밀번호) — varchar(50)
  • email (이메일) — varchar(50)
  • nickname (닉네임) — varchar(20)
  • position (유저 포지션) — varchar(20)
  • image (이미지) — int
  • social_type (소셜 타입) — varchar(10)
  • refresh_token (리프레시 토큰) — varchar(50)
  • reset_token (리셋 토큰) — varchar(50)

user_project_history (유저 프로젝트 히스토리)

  • user_project_history_id (히스토리 아이디) — int — Primary key — NOT NULL
  • user_id (유저 아이디) — varchar(50) — Foreign key → user.id — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL

user_skill (유저 기술 스택)

  • user_skill_id (유저 기술 스택 아이디) — int — Primary key — NOT NULL
  • user_id (유저 아이디) — varchar(50) — Foreign key → user.id — NOT NULL
  • skill (기술) — varchar(20)