Skip to content

Conversation

@Kim-TaeUk
Copy link
Member

Related Issue

Key Changes

  • User 삭제 시, userId가 ReadNotification에서 외래키로 사용되고 있음 - 삭제 시 참조 무결성을 해치게 됨
  • 외래키 제약 조건 때문에 DataIntegrityViolationException가 발생
  • OneToMany, Cascade로 문제 해결

User 삭제 시 ReadNotification도 함께 삭제되도록 설정
Copy link
Member

@ChaeAg ChaeAg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿... 👍 놓쳤던 부분 픽스해주셔서 감사합니다!

@Kim-TaeUk Kim-TaeUk merged commit 52689e9 into dev Feb 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX] SP2 QA 관련 오류 해결 - 회원탈퇴 안되는 버그 수정

4 participants