Skip to content

[Fix] - 공개 코스 삭제 시 Record FK null 처리 추가 (dev → main)#173

Merged
thingineeer merged 2 commits intomainfrom
dev
Feb 19, 2026
Merged

[Fix] - 공개 코스 삭제 시 Record FK null 처리 추가 (dev → main)#173
thingineeer merged 2 commits intomainfrom
dev

Conversation

@thingineeer
Copy link
Contributor

@thingineeer thingineeer commented Feb 19, 2026

😶 무슨 이슈인가요?


dev → main 머지 (프로덕션 배포)
공개 코스 삭제 시 Record FK null 처리 추가 반영

🤔 어떻게 이슈를 해결했나요?


  • dev에서 검증된 코드를 main으로 머지하여 프로덕션 배포

🤯 주의할 점이 있나요?


  • main push 시 GitHub Actions 자동 배포 트리거

- RecordRepository에 @Modifying @query로 벌크 UPDATE 메서드 추가 (nullifyPublicCourseIn)
- PublicCourseService.deletePublicCourses()에서 PublicCourse 삭제 전 Record.publicCourse를 null로 업데이트
- 삭제 순서: 스크랩 삭제 → Record FK null → isPrivate 업데이트 → PublicCourse 삭제
[Fix] - 공개 코스 삭제 시 Record FK null 처리 추가
@thingineeer thingineeer self-assigned this Feb 19, 2026
@thingineeer thingineeer merged commit 0443f98 into main Feb 19, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments