Skip to content

todo_activity_reminder_history 연관 테이블 cascade 추가#262

Merged
Hwangseoeun merged 1 commit intodevfrom
feature/#261-member_withdraw_error_fix
Mar 17, 2026
Merged

todo_activity_reminder_history 연관 테이블 cascade 추가#262
Hwangseoeun merged 1 commit intodevfrom
feature/#261-member_withdraw_error_fix

Conversation

@Hwangseoeun
Copy link
Member

@Hwangseoeun Hwangseoeun commented Mar 17, 2026

😉 연관 이슈

Resolves #261

🧑‍💻 수행 작업

  • todo_activity_reminder_history 테이블의 cascade를 member entity 내부에 추가하였음

📢 참고 사항

X

Summary by CodeRabbit

릴리스 노트

  • 리팩토링
    • Member 엔티티에 알림 활동 이력 추적 관계가 추가되었습니다. 이제 시스템은 회원별 알림 이력을 데이터베이스에서 관리할 수 있으며, 회원 삭제 시 관련 알림 이력이 함께 삭제됩니다.

@Hwangseoeun Hwangseoeun self-assigned this Mar 17, 2026
@Hwangseoeun Hwangseoeun added the deploy 해당 라벨을 붙이면 배포 작업을 진행합니다. (붙이지 않으면 배포 작업이 진행되지 않고 머지만 됩니다.) label Mar 17, 2026
@coderabbitai
Copy link

coderabbitai bot commented Mar 17, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: CHILL

Plan: Pro

Run ID: 351321d0-f92d-43a6-a7c1-86be9879c592

📥 Commits

Reviewing files that changed from the base of the PR and between 306f2e2 and ca21707.

📒 Files selected for processing (1)
  • src/main/java/site/dogether/member/entity/Member.java

📝 Walkthrough

워크스루

Member 엔티티에 TodoActivityReminderHistory와의 일대다 관계를 추가하고 cascade remove 설정을 통해 회원 삭제 시 관련 리마인더 히스토리 데이터도 함께 삭제되도록 정의합니다.

변경사항

Cohort / File(s) 요약
Member 엔티티 관계 매핑
src/main/java/site/dogether/member/entity/Member.java
TodoActivityReminderHistory 임포트 추가 및 일대다 관계 필드 추가. @OneToMany(mappedBy = "member", cascade = CascadeType.REMOVE)로 회원 삭제 시 관련 리마인더 히스토리 레코드가 함께 삭제되도록 설정.

예상 코드 리뷰 노력

🎯 2 (Simple) | ⏱️ ~5 minutes

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/#261-member_withdraw_error_fix
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can suggest fixes for GitHub Check annotations.

Configure the reviews.tools.github-checks setting to adjust the time to wait for GitHub Checks to complete.

@Hwangseoeun Hwangseoeun merged commit 6e70f3f into dev Mar 17, 2026
7 of 8 checks passed
@Hwangseoeun Hwangseoeun deleted the feature/#261-member_withdraw_error_fix branch March 17, 2026 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deploy 해당 라벨을 붙이면 배포 작업을 진행합니다. (붙이지 않으면 배포 작업이 진행되지 않고 머지만 됩니다.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BE] DB 연관관계로 인한 회원탈퇴 API 로직 에러 문제 해결

1 participant