ReviewKing

Tables (8)

Analysis (analysis)

  • id (분석 아이디) — NOT NULL — Primary key — NOT NULL
  • img_path (워드 클라우드 파일 경로) — NOT NULL
  • platform (플랫폼) — NOT NULL
  • restaurant_id (음식점 아이디) — NOT NULL — Foreign key → Restaurants.id — NOT NULL

Categories (categories)

  • id (카테고리 아이디) — NOT NULL — Primary key — NOT NULL
  • category (업종) — NOT NULL

KeyResLink (keyreslink)

  • id (연결 아이디) — NOT NULL — Primary key — NOT NULL
  • restaurant_id (음식점 아이디) — NOT NULL — Foreign key → Restaurants.id — NOT NULL
  • keyword_id (키워드 아이디) — NOT NULL — Foreign key → Keywords.id — NOT NULL

Keywords (keywords)

  • id (키워드 아이디) — NOT NULL — Primary key — NOT NULL
  • keyword (속성) — NULL

Restaurants (restaurants)

  • id (음식점 아이디) — NOT NULL — Primary key — NOT NULL
  • name (음식점명) — NOT NULL
  • longitude_x (경도) — NULL
  • latitude_y (위도) — NULL
  • img_url (음식점 사진) — NULL
  • subcategory (세부 업종) — NULL
  • category_id (카테고리 아이디) — NOT NULL — Foreign key → Categories.id — NOT NULL

Reviews (reviews)

  • id (리뷰 아이디) — NOT NULL — Primary key — NOT NULL
  • date (날짜) — NULL
  • name (음식점명) — NOT NULL
  • rating (평점) — NULL
  • content (리뷰 내용) — NULL
  • platform (플랫폼) — NOT NULL
  • restaurant_id (음식점 아이디) — NOT NULL — Foreign key → Restaurants.id — NOT NULL

TotalRating (total_rating)

  • id (총 평점 아이디) — NOT NULL — Primary key — NOT NULL
  • naver (네이버) — NULL
  • kakao (카카오) — NULL
  • mango (망고) — NULL
  • sikshin (식신) — NULL
  • integrated_rating (총 평점) — NULL
  • restaurant_id (음식점 아이디) — NOT NULL — Foreign key → Restaurants.id — NOT NULL

Users (users)

  • id (유저 아이디) — NOT NULL — Primary key — NOT NULL
  • email (유저 이메일) — NOT NULL
  • password (유저 비밀번호) — NOT NULL
  • name (유저 이름) — NOT NULL