ch0
Tables (7)
Mission_Assignments
- 할당 ID (assignment_id) — NOT NULL — Primary key
- 진행 상태 (status) — NULL
- 할당 시각 (assigned_at) — NULL
- 완료 시각 (completed_at) — NULL
- 사용자 ID (user_id) — NOT NULL — Foreign key → Users.사용자 ID
- 미션 ID (mission_id) — NOT NULL — Foreign key → Missions.미션 ID
Missions
- 미션 ID (mission_id) — NOT NULL — Primary key
- 미션 제목 (mission_title) — NOT NULL — NOT NULL
- 미션 설명 (mission_desc) — NULL
- 보상 포인트 (reward_point) — NULL
- 가게 ID (store_id) — NOT NULL — Foreign key → Stores.가게 ID
Point_Log
- 로그 ID (log_id) — NOT NULL — Primary key
- 포인트 (points) — NOT NULL — NOT NULL
- 지급 사유 (reason) — NOT NULL
- 지급 시각 (created_at) — NOT NULL
- 사용자 ID (user_id) — NOT NULL — Foreign key → Users.사용자 ID
Regions
- 지역 ID (region_id) — NOT NULL — Primary key
- 지역 이름 (region_name) — NULL — NOT NULL
Reviews
- 리뷰 ID (review_id) — NOT NULL — Primary key
- 평점 (rating) — NULL
- 리뷰 내용 (comment) — NULL — EX
- 작성일시 (created_at) — NULL
- 할당 ID (assignment_id) — NOT NULL — Foreign key → Mission_Assignments.할당 ID
Stores
- 가게 ID (store_id) — NOT NULL — Primary key
- 가게 이름 (store_name) — NOT NULL — NOT NULL
- 가게 주소 (address) — NULL
- 지역 ID (region_id) — NOT NULL — Foreign key → Regions.지역 ID
Users
- 사용자 ID (user_id) — NOT NULL — Primary key
- 사용자 이름 (username) — NOT NULL — NOT NULL
- 비밀번호 (password) — NOT NULL — NOT NULL
- 이메일 (email) — NULL
- 사용자 선호 (preference) — NULL
- 포인트 (points) — NULL
- 생성 일자 (created_at) — NULL
- 전화번호 (phone_number) — NULL
- 전화번호 인증 (phone_verified) — NOT NULL