Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[review] Tag 테이블 구현 #37

Open
3 of 4 tasks
kimaj2001 opened this issue Jul 5, 2023 · 0 comments
Open
3 of 4 tasks

[review] Tag 테이블 구현 #37

kimaj2001 opened this issue Jul 5, 2023 · 0 comments

Comments

@kimaj2001
Copy link
Contributor

kimaj2001 commented Jul 5, 2023

연관관계

Review와 Tag는 N:M 관계
중간에 연결 엔티티를 추가해서 1:N 관계로 변경(ReviewTag)

  • Tag Id는 String 타입으로 설정
  • CommandLineRunner를 사용하여 Tag 테이블에 프로젝트 시작 시 10개 태그 지정해놓기
  • 중복되는 항목이 없어야 하므로 Set 타입으로 설정
  • ReviewTag에는 Review Id와 Tag Id가 들어가며 Movie 테이블에 따라 Movie Id도 추가할 수 있다.
@kimaj2001 kimaj2001 added this to the 리뷰 CRUD milestone Jul 5, 2023
@kimaj2001 kimaj2001 self-assigned this Jul 5, 2023
kimaj2001 added a commit that referenced this issue Jul 13, 2023
Tag 테이블 구현.
ReviewTag 테이블 구현
연관 관계 매핑 등.. 추가 설정 필요
dongbin420 added a commit that referenced this issue Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant