runningmateerd 0.3v

Tables (17)

apply_answer (프로젝트 질문 답변)

  • apply_answer_id (프로젝트 답변 아이디) — int — Primary key — NOT NULL
  • apply_question_id (프로젝트 신청 질문 아이디) — int — Foreign key → apply_question.apply_question_id — NOT NULL
  • project_apply_id (프로젝트 신청 아이디) — int — Foreign key → project_apply.project_apply_id — NOT NULL
  • answer (답변) — varchar(255)

apply_question (프로젝트 신청 질문)

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

comment (댓글)

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

comment_reply (대댓글)

  • comment_reply_id (대댓글 아이디) — int — Primary key — NOT NULL
  • comment_id (코멘트 아이디) — int — Foreign key → comment.comment_id — NOT NULL
  • user_id (유저 아이디) — int
  • contents (내용) — varchar(255)

image (이미지)

  • image_id (이미지 아이디) — int — Primary key — NOT NULL
  • original_name (원본 파일명) — varchar(50)
  • store_name (저장 파일명) — varchar(50)

old_comment (댓글.)

  • comment_id (댓글 아이디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int
  • user_id (작성자 아이디) — int
  • contents (댓글 내용) — varchar(255)
  • parent_id (상위 댓글 아이디) — int

position (포지션)

  • position_id (포지션 아이디) — int — Primary key — NOT NULL
  • position_name (포지션 명) — varchar(20)

project (프로젝트)

  • project_id (프로젝트 아이디) — int — Primary key — NOT NULL
  • leader (프로젝트 리더) — int — Foreign key → user.id — NOT NULL
  • title (프로젝트 명) — varchar(255)
  • begin_date (시작일) — datetime
  • end_date (종료일) — datetime
  • contents (상세 내용) — text
  • status (프로젝트 상태) — varchar(10)
  • views (조회수) — int
  • image_id (이미지 아이디) — int — Foreign key → image.image_id — NOT NULL

project_apply (프로젝트 신청)

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

project_like (프로젝트 좋아요)

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

project_member (프로젝트 멤버)

  • project_member_id (프로젝트 멤버 아이디) — int — Primary key — NOT NULL
  • project_position_id (프로젝트 포지션 아이디) — int — Foreign key → project_position.project_position_id — NOT NULL
  • user_id (유저 아이디) — int — Foreign key → user.id — NOT NULL

project_position (프로젝트 포지션)

  • project_position_id (프로젝트 포지션 아이디) — int — Primary key — NOT NULL
  • project_id (프로젝트 아이디) — int — Foreign key → project.project_id — NOT NULL
  • position_id (포지션 아이디) — int — Foreign key → position.position_id — NOT NULL
  • project_position_personnel (프로젝트 포지션 인원) — int

project_use_skill (프로젝트 기술 스택)

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

skill (기술)

  • skill_id (기술 아이디) — int — Primary key — NOT NULL
  • skill_name (기술 명) — varchar(20)

user (유저)

  • id (아이디) — int — Primary key — NOT NULL
  • password (비밀번호) — varchar(50)
  • email (이메일) — varchar(50)
  • nickname (닉네임) — varchar(20)
  • image_id (이미지 아이디) — int — Foreign key → image.image_id — NOT NULL
  • position_id (포지션 아이디) — int — Foreign key → position.position_id — NOT NULL
  • reset_token (비밀번호 초기화 토큰) — varchar(50)

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

  • user_project_history_id (히스토리 아이디) — int — Primary key — NOT NULL
  • user_id (유저 아이디) — int — 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 (유저 아이디) — int — Foreign key → user.id — NOT NULL
  • skill_id (기술 아이디) — int — Foreign key → skill.skill_id — NOT NULL