SidePeek
Tables (13)
auth_provider (소셜 로그인)
- 식별자 (id) — PK — Primary key — NOT NULL
- 사용자 식별자 (user_id) — FK — Foreign key → users.식별자 — NOT NULL
- 소셜 로그인 유형 (type)
authorization (인가)
- 식별자 (id) — PK — Foreign key → users.식별자 — NOT NULL
- 리프레시 토큰 (refresh_token) — NOT NULL
comment (댓글)
- 식별자 (id) — PK — Primary key — NOT NULL
- 사용자 식별자 (user_id) — FK — Foreign key → users.식별자 — NOT NULL
- 프로젝트 식별자식별자 (project_id) — FK — Foreign key → project.식별자 — NOT NULL
- 익명 여부 (is_anonymous) — NOT NULL
- 내용 (content) — NOT NULL
- 생성일자 (created_at) — NOT NULL
- 최종수정일자 (updated_at) — NOT NULL
files (파일)
- 식별자 (id) — PK — Primary key — NOT NULL
- 프로젝트 식별자 (project_id) — FK — Foreign key → project.식별자 — NOT NULL
- 유형 (type) — NOT NULL — [OVERVIEW, DESCRIPTION, TROUBLE_SHOOTING]
- 경로 (url) — NOT NULL
likes (좋아요)
- 식별자 (id) — PK — Primary key — NOT NULL
- 사용자 식별자 (user_id) — FK — Foreign key → users.식별자 — NOT NULL
- 프로젝트 식별자 (project_id) — FK — Foreign key → project.식별자 — NOT NULL
- 생성일자 (created_at) — NOT NULL
- 최종수정일자 (updated_at) — NOT NULL
project (프로젝트)
- 식별자 (id) — PK — Primary key — NOT NULL
- 이름 (name) — NOT NULL
- 소제목 (sub_name)
- 개요 (overview) — NOT NULL
- 썸네일 이미지 (thumnail_url)
- 깃허브 링크 (github_url)
- 배포 링크 (deploy_url)
- 조회수 (view_count) — NOT NULL
- 좋아요수 (like_count) — NOT NULL
- 시작 기간 (start_date)
- 종료 기간 (end_date)
- 작성자 식별자 (owner_id) — NOT NULL
- 설명 (description) — NOT NULL
- 트러블슈팅 (troubleshooting)
- 생성일자 (created_at) — NOT NULL
- 최종수정일자 (updated_at) — NOT NULL
- 삭제일자 (deleted_at)
project_members (프로젝트 팀원)
- 식별자 (id) — PK — Primary key — NOT NULL
- 프로젝트 식별자 (project_id) — FK — Foreign key → project.식별자 — NOT NULL
- 사용자 식별자 (member_id) — FK — Foreign key → users.식별자
- 닉네임 (nickname) — NOT NULL
project_skills (프로젝트 기술스택)
- 식별자 (id) — PK — Primary key — NOT NULL
- 프로젝트 식별자 (project_id) — FK — Foreign key → project.식별자 — NOT NULL
- 기술스택 식별자 (skill_id) — FK — Foreign key → skill.식별자 — NOT NULL
project_tags (프로젝트 태그)
- 식별자 (id) — PK — Primary key — NOT NULL
- 프로젝트 식별자 (project_id) — FK — Foreign key → project.식별자 — NOT NULL
- 태그 식별자 (tag_id) — FK — Foreign key → tag.식별자 — NOT NULL
skill (기술스택)
- 식별자 (id) — PK — Primary key — NOT NULL
- 이름 (name) — UK — NOT NULL
- 아이콘 이미지 링크 (icon_url)
tag (해시태그)
- 식별자 (id) — PK — Primary key — NOT NULL
- 이름 (name) — UK — NOT NULL
user_skills (사용자 기술스택)
- 식별자 (id) — PK — Primary key — NOT NULL
- 사용자 식별자 (user_id) — FK — Foreign key → users.식별자 — NOT NULL
- 기술스택 식별자 (skill_id) — FK — Foreign key → skill.식별자 — NOT NULL
users (사용자)
- 식별자 (id) — PK — Primary key — NOT NULL
- 닉네임 (nickname) — UK — NOT NULL
- 이메일 (email) — UK — NOT NULL
- 비밀번호 (password)
- 프로필 이미지 (profile_image_url)
- 자기소개 (introduction)
- 직업 (job) — [ fe / be / android / data / etc ]
- 경력 (career) — [ 0년차 / 1~3년차 / 4~6년차 / 7~9년차 / 10년차 이상 ]
- 깃허브 링크 (github_url)
- 블로그 링크 (blog_url)
- 생성일자 (created_at) — NOT NULL
- 최종수정일자 (updated_at) — NOT NULL
- 삭제일자 (deleted_at)
- 삭제 여부 (is_deleted) — NOT NULL