FoodFighter

Tables (3)

review (리뷰)

  • 리뷰번호 (number) — not null — Primary key — NOT NULL
  • 회원id (id) — not null — Foreign key → user.회원id — NOT NULL
  • 가게번호 (store_id) — not null — Foreign key → store.가게번호 — NOT NULL
  • 맛 평가 (taste) — not null
  • 서비스 평가 (service) — not null
  • 가격 평가 (price) — not null
  • 내용 (content) — notnull
  • 리뷰 이미지 (review_image) — notnull
  • 작성일자 (created_at) — not null
  • 닉네임 (nickname) — not null

store (가게)

  • 가게번호 (store_id) — not null — Primary key — NOT NULL
  • 회원id (id) — not null — Foreign key → user.회원id — NOT NULL
  • 가게명 (shop_name) — not null
  • 주소 (address) — notnull
  • 대표자명 (representative) — not null
  • 휴대폰번호 (phone) — not null
  • 사업자등록증 (business_license) — notnull
  • 카테고리 (category) — not null
  • 리뷰수 (review) — not null
  • 메뉴 (menu)
  • 영업시간 (business_hours)

user (회원)

  • 회원id (id) — not null — Primary key — NOT NULL
  • 비밀번호 (password) — not null
  • 닉네임 (nickname) — not null
  • 이메일 (email) — not null
  • 가입날짜 (created_at) — not null
  • 작성한리뷰수 (total_review)
  • 받은 좋아요 수 (total_liked)
  • 회원 이미지 (image)