개인 작업용
테이블 (9)
address_depth_1 (주소1)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- name (이름) — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
address_depth_2 (주소2)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- name (이름) — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- address_depth_1_id (주소1(도, 시)) — NOT NULL — 외래 키 → address_depth_1.id — NOT NULL
game (게스트 모집(경기))
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- content (모집 글 내용) — NOT NULL
- play_date (경기 날짜) — NOT NULL
- play_start_time (경기 시작 시간) — NOT NULL
- play_end_time (경기 종료 시간) — NOT NULL
- play_time_minutes (경기 진행 분) — NOT NULL
- main_address (메인 주소 (도,시,구,동,번지)) — NOT NULL
- detail_address (상세 주소 (층, 호수)) — NOT NULL
- latitude (위도) — NULL
- longitude (경도) — NULL
- status (게스트 모집 상태) — NOT NULL
- view_count (조회수) — NOT NULL DEFAULT 0
- cost (비용) — NOT NULL DEFAULT 0
- member_count (인원수) — NOT NULL DEFAULT 1
- max_member_count (인원 제한) — NOT NULL DEFAULT 1
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- host_id (호스트ID) — NOT NULL — 외래 키 → member.id — NOT NULL
- address_depth_1_id (주소1(도,시)) — NOT NULL — 외래 키 → address_depth_1.id — NOT NULL
- address_depth_2_id (주소2(구)) — NOT NULL — 외래 키 → address_depth_2.id — NOT NULL
game_member (게스트 모집(경기) 참여인원)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- member_id (회원ID) — NOT NULL — 외래 키 → member.id — NOT NULL
- game_id (경기ID) — NOT NULL — 외래 키 → game.id — NOT NULL
game_member_candidate (게스트 모집(경기) 신청 목록)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- status (상태) — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- member_id (회원ID) — NOT NULL — 외래 키 → member.id — NOT NULL
- game_id (경기ID) — NOT NULL — 외래 키 → game.id — NOT NULL
game_position (게스트 모집(경기) 포지션)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- position_id (포지션ID) — NOT NULL — 외래 키 → position.id — NOT NULL
- game_id (경기ID) — NOT NULL — 외래 키 → game.id — NOT NULL
member (회원)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- email (이메일) — NOT NULL
- nickname (닉네임) — NOT NULL
- introduction (회원 소개) — NOT NULL
- profile_image_url (프로필 이미지 경로) — NOT NULL
- status (회원 상태) — NOT NULL
- manner_score (매너스코어) — NOT NULL DEFAULT 0
- manner_score_count (매너 스코어 반영 갯수) — NOT NULL DEFAULT 0
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- address_depth_1_id (주소1(도, 시)) — NOT NULL — 외래 키 → address_depth_1.id — NOT NULL
- address_depth_2_id (주소2(구)) — NOT NULL — 외래 키 → address_depth_2.id — NOT NULL
member_position (회원 포지션)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL
- position_id (포지션ID) — NOT NULL — 외래 키 → position.id — NOT NULL
- member_id (회원ID) — NOT NULL — 외래 키 → member.id — NOT NULL
position (포지션)
- id (ID) — NOT NULL — 기본 키 — NOT NULL
- name (포지션 이름) — NOT NULL
- description (포지션 설명) — NOT NULL
- acronym (포지션 약자) — NOT NULL
- created_at (생성일자) — NOT NULL
- updated_at (수정일자) — NOT NULL