umc-mission0
Tables (10)
food
- 카테고리ID (id) — NOT NULL — Primary key — NOT NULL
- 카테고리명 (name) — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
member
- 멤버ID (id) — NOT NULL — Primary key — NOT NULL
- 이름 (name) — NOT NULL
- 비밀번호 (password) — NOT NULL
- 성별 (gender) — NOT NULL
- 생년월일 (birth) — NOT NULL
- 주소 (address) — NOT NULL
- 상태 (status) — NOT NULL
- 비활성일 (inactive_date) — NULL
- 이메일 (email) — NOT NULL
- 전화번호 (phone_number) — NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
- 포인트 (point) — NOT NULL
member_food
- ID (id) — NOT NULL — Primary key — NOT NULL
- 멤버ID (member_id) — NOT NULL — Foreign key → member.멤버ID — NOT NULL
- 카테고리ID (category_id) — NOT NULL — Foreign key → food.카테고리ID — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
member_mission
- ID (id) — NOT NULL — Primary key — NOT NULL
- 멤버ID (member_id) — NOT NULL — Foreign key → member.멤버ID — NOT NULL
- 미션ID (mission_id) — NOT NULL — Foreign key → mission.미션ID — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
mission
- 미션ID (id) — NOT NULL — Primary key — NOT NULL
- 가게ID (store_id) — NOT NULL — Foreign key → store.가게ID — NOT NULL
- 미션 조건 (conditional) — NOT NULL
- 미션 기한 (deadline) — NOT NULL
- 포인트 (point_reward) — NOT NULL — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
region (Untitled)
- 지역ID (id) — NOT NULL — Primary key — NOT NULL
- 지역명 (name) — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
review
- 리뷰ID (id) — NOT NULL — Primary key — NOT NULL
- 가게ID (store_id) — NOT NULL — Foreign key → store.가게ID — NOT NULL
- 멤버ID (member_id) — NOT NULL — Foreign key → member.멤버ID — NOT NULL
- 리뷰내용 (content) — NOT NULL
- 평점 (rating) — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
review_photo
- 사진ID (id) — NOT NULL — Primary key — NOT NULL
- 리뷰ID (review_id) — NOT NULL — Foreign key → review.리뷰ID — NOT NULL
- 사진URL (photo_urrl) — NULL
review_reply
- 답글ID (id) — NOT NULL — Primary key — NOT NULL
- 리뷰ID (review_id) — NOT NULL — Foreign key → review.리뷰ID — NOT NULL
- 내용 (content) — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL
store
- 가게ID (id) — NOT NULL — Primary key — NOT NULL
- 지역ID (region_id) — NOT NULL — Foreign key → region.지역ID — NOT NULL
- 이름 (name) — NOT NULL
- 주소 (address) — NOT NULL
- 평점 (rating) — NOT NULL
- 상태 (status) — NOT NULL
- 생성일 (created_at) — NOT NULL
- 수정일 (updated_at) — NOT NULL