Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📌 관련 이슈
closed #57
✨ PR 내용
📚 레퍼런스 혹은 궁금한 사항들
회차 Meeting 삭제시 Fine, Attendance, Proof의 연관관계 및 FK로 인해 삭제가 불가능했었기에 지금은 OnDelete 어노테이션을 사용하여 해결한 상태입니다.
따라서, FK 기존의 로컬과 dev 서버의 db에서도 변화가 필요할 듯 합니다.
고려했던 해결책들
위 세가지를 고려했으나 변경점이 많고 상의해야할 부분이 많아질 것 같아 일단 비교적 간단한 2번을 선택했습니다.(추후 DB 세팅을 다시한다는 전제하에...)
3번도 간단하게 바로 적용이 가능하지만, 개발자가 매번 연관관계 매핑을 체크해야하기 때문에 개발 생산성이 떨어질 것으로 판단하여 일단 제외 했습니다.
1번의 경우에는 FK를 제외하여도 사용 가능하나 아직 DB에서 FK 제약조건을 걸 것인지, SoftDelete를 만들 것인지 등의 여러 이슈와 겹친다고 생각하여 일단 제외하고 기능 개발을 우선으로 진행했습니다.
📸 스크린샷(선택)