HelloProject
Tables (8)
Alarm (알림)
- user_id (유저 아이디) — int — Foreign key → User.user_id — NOT NULL
- project_id (프로젝트 아이디) — int — Foreign key → Project.project_id — NOT NULL
Chat (채팅)
- chat_id (채팅 아이디) — int — Primary key — NOT NULL
- project_id (프로젝트 아이디) — int — Foreign key → Project.project_id — NOT NULL
- user_id (유저 아이디) — int — Foreign key → User.user_id — NOT NULL — 보낸 사람
- user_id (유저 아이디2) — int — Foreign key → User.user_id — NOT NULL — 받은 사람
- detail (내용) — string
- check (읽음 여부) — boolean
Project (프로젝트)
- project_id (프로젝트 아이디) — int — Primary key — NOT NULL
- user_id (유저 아이디) — int — Foreign key → User.user_id — NOT NULL — 기획자 아이디
- pr_name (프로젝트명)
- description (설명) — string
- category (카테고리) — string
- scrap_count (스크랩수) — int
- recruit_startdate (모집 시작일) — date
- recruit_enddate (모집 마감일) — date
- meeting_startdate (면접 시작일) — date
- meeting_enddate (면접 마감일) — date
- announce_date (발표일) — date
- deadline (마감 여부) — boolean
ProjectUpdate (프로젝트 업데이트)
- prupdate_id (프로젝트 업데이트 아이디) — int — Primary key — NOT NULL
- project_id (프로젝트 아이디) — int — Foreign key → Project.project_id — NOT NULL
- detail (내용) — string
RecruitPart (모집 파트)
- project_id (프로젝트 아이디) — int — Foreign key → Project.project_id — NOT NULL
- part (파트) — string
- headcount (인원수) — int — 회의록에 없지만 추가
Report (신고)
- report_id (신고 아이디) — int — Primary key — NOT NULL
- user_id (유저 아이디) — int — Foreign key → User.user_id — NOT NULL — 신고한 사람
- user_id (유저 아이디2) — int — Foreign key → User.user_id — NOT NULL — 신고받은 사람
- reason (신고 사유) — string
Scrap (스크랩)
- user_id (유저 아이디) — int — Foreign key → User.user_id — NOT NULL
- project_id (프로젝트 아이디) — int — Foreign key → Project.project_id — NOT NULL
User (유저)
- user_id (유저 아이디) — int — Primary key — NOT NULL
- email (이메일) — string — NOT NULL — 중복 X
- password (비밀번호) — string — NOT NULL
- nickname (닉네임) — string — NOT NULL — 중복 X
- profile_image_url (프로필이미지 url) — string
- comment (한줄소개) — string
- gender (성별) — boolean
- birthdate (출생일) — date — 나이에서 출생날짜로 변경
- region (활동지역) — string
- language (사용언어) — string — 한꺼번에 저장, 데이터 가공 후 사용
- techstack (기술스택) — string — 한꺼번에 저장, 데이터 가공 후 사용
- sns (sns 계정) — string
- cover_letter (자기소개) — string
- report_count (신고 누적 횟수) — int