Mappin

테이블 (6)

가게 (shop)

  • Key — 기본 키 — NOT NULL
  • 가게 상호 (name) — String(100) — NOT NULL
  • 주소 (address) — String(100) — NOT NULL
  • 생성일 (created_at)
  • 수정일 (updated_at)

나의 핀 (MyPin)

  • 리뷰 (review) — 외래 키 → 리뷰.Key — NOT NULL
  • Key (Key2) — 외래 키 → 프로필.유저 — NOT NULL
  • 생성일 (created_at)

리뷰 (Review)

  • Key — 기본 키 — NOT NULL
  • 내용 (content) — Text
  • 좋아요 수 (count_like) — Int
  • 자료 출처 (source_url)
  • 가게 (shop) — 외래 키 → 가게.Key — NOT NULL
  • Key (Key2) — 외래 키 → 프로필.유저 — NOT NULL
  • 생성일 (created_at)
  • 수정일 (updated_at)

유저 (User)

  • Key — 기본 키 — NOT NULL
  • 아이디 (Id)
  • 비밀번호 (password)

이미지 (Image)

  • Key — 기본 키 — NOT NULL
  • 리뷰 (review) — 외래 키 → 리뷰.Key — NOT NULL
  • 생성일 (created_at)
  • 수정일 (updated_at)

프로필 (Profile)

  • 유저 (user) — 외래 키 → 유저.Key — NOT NULL
  • 닉네임 (nickname) — String(50) — NOT NULL
  • 한 줄 소개 (introduction) — String(200)
  • sns 링크 (sns_link) — String(200)
  • 생성일 (created_at)
  • 수정일 (updated_at)