mission

Tables (9)

Shops (Untitled)

  • 가게이아디 (id) — long — Primary key — NOT NULL
  • 가게이름 (name) — varchar(100) — NOT NULL
  • 가게주소 (address) — varchar(255)
  • 가게설명 (description) — text
  • 지역아이디 (id2) — Long — Foreign key → regions.지역아이디 — NOT NULL

cart (Untitled5)

  • 장바구니아이디 (id) — long — Primary key — NOT NULL
  • 아이템이름 (item_name) — varchar(100- — NOT NULL
  • 아이템가격 (price) — int — NOT NULL
  • 갯수 (quantity) — int — NOT NULL
  • 총가격 (total_price) — int — NOT NULL
  • 회원아이디 (id2) — long — Foreign key → users.회원아이디 — NOT NULL

missions (Untitled2)

  • 미션아이디 (id) — long — Primary key — NOT NULL
  • 미션제목 (title) — varchar(100) — NOT NULL
  • 미션설명 (description) — text
  • 미션점수 (point_value) — int — NOT NULL
  • 가게이아디 (id2) — long — Foreign key → Shops.가게이아디 — NOT NULL

regions (CopyOfUntitled)

  • 지역아이디 (id) — Long — Primary key — NOT NULL
  • 지역이름 (name) — varchar(50) — NOT NULL

reviews (Untitled4)

  • 리뷰아이디 (id) — long — Primary key — NOT NULL
  • 별점 (rating) — int — NOT NULL
  • 리뷰내용 (comment) — text
  • 생성날짜 (created_at) — datetime(6) — NOT NULL
  • 수정날짜 (updated_at) — datetime(6) — NOT NULL
  • 회원아이디 (id2) — long — Foreign key → users.회원아이디 — NOT NULL
  • 가게이아디 (id3) — long — Foreign key → Shops.가게이아디 — NOT NULL

terms (약관)

  • 약관아이디 (id) — long — Primary key — NOT NULL
  • 약관버전 (version) — varchar(20) — NOT NULL
  • 약관내용 (content) — text — NOT NULL
  • 약관적용날짜 (date_effective) — datetime(6) — NOT NULL

user_terms_agreement (Untitled6)

  • 회원약관동의아이디 (id) — long — Primary key — NOT NULL
  • 동의날짜 (date_agreed) — datetime(6) — NOT NULL
  • 약관아이디 (id2) — long — Foreign key → terms.약관아이디 — NOT NULL
  • 회원아이디 (id3) — long — Foreign key → users.회원아이디 — NOT NULL

users (user)

  • 회원아이디 (id) — long — Primary key — NOT NULL
  • 회원이름 (name) — VARCHAR(50) — NOT NULL
  • 비밀번호 (password) — varchar(50) — NOT NULL
  • 생년월일 (birthday) — string
  • 주소 (address) — string — NOT NULL
  • 전체포인트 (total_points) — int
  • 생성일자 (created_at) — datetime(6) — NOT NULL
  • 수정일자 (updated_at) — datetime(6) — NOT NULL

users_missions (Untitled3)

  • 회원미션아이디 (users_missions_id) — long — Primary key — NOT NULL
  • 완료 상태 (completion_status) — enum( ' 진행 중', '완료' )
  • 완료시간 (completion_date) — datetime(6) — NOT NULL
  • 회원아이디 (id2) — long — Foreign key → users.회원아이디 — NOT NULL
  • 미션아이디 (id3) — long — Foreign key → missions.미션아이디 — NOT NULL