cupping-note / cupping-note-server

0 stars 0 forks source link

DB 유저 취향 테이블 설계 #16

Open bahar-j opened 1 year ago

bahar-j commented 1 year ago

유저의 원두 취향을 저장할 테이블이 필요할 것 같다.

bahar-j commented 1 year ago

image

white-gyu commented 1 year ago

좋습니닷

white-gyu commented 1 year ago
erDiagram

user_preference {
  int id "ID"
  int user_id "사용자 ID"
  string category "flavor, acidity, 등"
  int point "점수 및 결과"
}
coffee_flavor {
  int id "ID"
  string flavor "향 ex) 꽃 향, 견과류 향, 과일 향, 초콜릿 향"
}
white-gyu commented 1 year ago
id flavor
1 꽃 향
2 견과류 향
3 과일 향
4 초콜릿 향
id user_id category point
1 1 바디감 5
2 1 커피 향 꽃 향의 id
3 1 커피 향 과일 향의 id