Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
관련 이슈
Closes #200
변경 배경
현재 그래프 조회는 크루 문서 본문에서 참조 링크를 요청마다 추출하고 계산한다.
후속 문서 쓰기 동기화, backfill 및 영속 참조 조회가 동일한 저장 구조와 제약을 사용할 수 있도록
source CrewDocument -> target Document방향성 참조 모델과 Repository를 추가한다.변경 내용
DocumentReferenceJPA entity 추가DocumentReferenceFixture와 Repository 통합 테스트 추가CrewDocument와OrganizationDocumenttarget 저장·조회 검증검증
DocumentReferenceRepositoryTest9개 통과uk_document_reference_source_target유일 제약 확인idx_document_reference_source,idx_document_reference_targetindex 확인fk_document_reference_source,fk_document_reference_targetFK 확인NO ACTION임을 확인영향 및 참고사항
document_reference테이블이 Hibernateddl-auto: update를 통해 추가된다.