Repository navigation
fix: 대학 검색 키워드 시드 마이그레이션 보정 - #659
Conversation
|
Warning Review limit reached
More reviews will be available in 3 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
🧪 JaCoCo Coverage Report (Changed Files)
|
개요
V87__seed_university_search_keywords.sql이 일부 대학만 존재하는 DB에서 실패한 문제를 보정합니다.주요 변경 내용
LEFT JOIN에서JOIN으로 변경해 실제 존재하는 대학 키워드만 insert합니다.ON DUPLICATE KEY UPDATE를 추가해 repair 이후 재시도나 중복 데이터가 있어도 안전하게 처리합니다.한국기술교육대학교만 있는 DB에서 V87이 3개 키워드만 seed하는 테스트로 변경했습니다.배포 참고
flyway repair로 실패 이력을 제거해야 합니다.한국기술교육대학교키워드만 seed되고 애플리케이션이 다음 단계로 진행됩니다.검증
./gradlew.bat test --tests "gg.agit.konect.unit.domain.university.UniversitySearchKeywordMigrationTest"./gradlew.bat checkstyleMainChecklist