클컴
테이블 (4)
Restaurant (Untitled)
- id — 기본 키 — NOT NULL
- 식당 이름 (name)
- 설명 (description)
- 식당 평점 평균 (averageScore)
- 식당 정규화 평점 평균 (normScore)
- 식당 리뷰수 (reviewCount)
RestaurantReview (Untitled2)
- id (restaurantReviewId) — 기본 키 — NOT NULL
- 리뷰 평점 (reviewScore)
- 리뷰 설명 (description)
- 정규화 평점 (normScore)
- 사용자 ID (userId) — 외래 키 → User.id — NOT NULL
- 식당 ID (restaurantId) — 외래 키 → Restaurant.id — NOT NULL
- 리뷰 평점 (score)
- 리뷰 작성일 (createAt)
- 태그 배열 (tags)
User (Untitled3)
- id — 기본 키 — NOT NULL
- 사용자 이름 (username)
- 사용자 평점 평균 (averageScore)
- 카카오맵 레벨 (level)
- 사용자 리뷰 수 (reviewCount)
UserReview (Untitled4)
- id (userReviewId) — 기본 키 — NOT NULL
- 리뷰한 레스토랑 이름 (restaurantName)
- 리뷰한 식당 평점 (reviewScore)
- 사용자 ID (userId) — 외래 키 → User.id — NOT NULL
- 태그 배열 (tags)
- 리뷰 설명 (description)
- 재방문 여부 (revisit)
- 리뷰작성일 (createAt)