UMC-mission4
Tables (11)
food_category
- 아이디 (id) — bigint — Primary key — NOT NULL
- 음식 이름 (name) — varchar(30)
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
member
- 아이디 (id) — bigint — Primary key — NOT NULL
- 이름 (name) — varchar(20)
- 성별 (gender) — varchar(10)
- 나이 (age) — int
- 주소 (address) — varchar(50)
- 상세주소 (spec_address) — varchar(50)
- 회원상태 (status) — varchar(20)
- 비활성화 날짜 (inactive_date) — datetime
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
- 포인트 (point) — int
- 이메일 (email) — archer(50)
member_agree
- 아이디 (id) — bigint — Primary key — NOT NULL
- 회원 아이디 (member_id) — biting — Foreign key → member.아이디 — NOT NULL
- 이용약관 아이디 (terms_id) — bigint — Foreign key → terms.아이디 — NOT NULL
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
member_mission
- 아이디 (id) — biting — Primary key — NOT NULL
- 회원 아이디 (member_id) — biting — Foreign key → member.아이디 — NOT NULL
- 미션 아이디 (mission_id) — biting — Foreign key → mission.아이디 — NOT NULL
- 미션 상태 (status) — varchar(15)
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
member_prefer
- 아이디 (id) — bigint — Primary key — NOT NULL
- 회원 아이디 (member_id) — biting — Foreign key → member.아이디 — NOT NULL
- 음식 아이디 (food_id) — bigint — Foreign key → food_category.아이디 — NOT NULL
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
mission
- 아이디 (id) — biting — Primary key — NOT NULL
- 가게 아이디 (store_id) — bigint — Foreign key → store.아이디 — NOT NULL
- 포인트 (reward) — int
- 마감 기한 (deadline) — datetime
- 미션 상세내용 (mission_spec) — text
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
region
- 아이디 (id) — biting — Primary key — NOT NULL
- 지역 이름 (name) — bigint
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
review
- 아이디 (id) — bigint — Primary key — NOT NULL
- 회원 아이디 (member_id) — bigint — Foreign key → member.아이디 — NOT NULL
- 가게 아이디 (store_id) — bigint — Foreign key → store.아이디 — NOT NULL
- 점수 (score) — float
- 리뷰 내용 (body) — text
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
review_image
- 아이디 (id) — biting — Primary key — NOT NULL
- 리뷰 아이디 (review) — bigint — Foreign key → review.아이디 — NOT NULL
- 이미지 url (image_url) — text
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
store
- 아이디 (id) — bigint — Primary key — NOT NULL
- 지역 아이디 (region_id) — biting — Foreign key → region.아이디 — NOT NULL
- 가게 이름 (name) — varchar(50)
- 주소 (address) — varchar(50)
- 가게 리뷰 점수 (score) — float
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)
terms
- 아이디 (id) — bigint — Primary key — NOT NULL
- 약관 타이틀 (title) — varchar(50)
- 약관 내용 (body) — varchar(1000)
- 필수동의 여부 (optional) — boolean
- 생성 시각 (created_at) — datetime(6)
- 업데이트 시각 (updated_at) — datetime(6)