fix: prod flyway 마이그레이션 누락 및 V14 스키마 하드코딩 수정#398
Conversation
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 본 PR은 운영 환경 DB의 Flyway 마이그레이션 상태 불일치를 해결하기 위한 조치입니다. 누락된 마이그레이션 이력을 복구하기 위해 임시로 out-of-order 설정을 활성화하고, 기존 스크립트 내 하드코딩된 스키마 참조를 수정하여 배포 안정성을 확보하고자 합니다. Highlights
New Features🧠 You can now enable Memory (public preview) to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. 누락된 버전 찾아 헤매다니, Flyway 순서 꼬여 고민하네. out-of-order 설정 한 줄 더하니, 이제야 배포 길 열리겠구나. Footnotes
|
There was a problem hiding this comment.
Code Review
이번 풀 리퀘스트에서는 application-prod.yml 파일에 Flyway의 out-of-order: true 설정을 추가하였습니다. 이에 대해 해당 설정이 임시 조치이므로 배포 후 제거 대상임을 명시할 수 있도록 IntelliJ 기본 형식의 FIXME 주석을 추가하라는 피드백이 제공되었습니다.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| enabled: true | ||
| baseline-on-migrate: true | ||
| baseline-version: 1 | ||
| out-of-order: true |
There was a problem hiding this comment.
[Reviewer, 2026-07-09] out-of-order 설정은 임시 조치이므로 배포 후 제거 대상임을 명시하기 위해 IntelliJ 기본 형식의 FIXME 주석을 추가해 주시기 바랍니다.
References
- 임시 설정이나 잠재적 문제가 있는 부분에는 IntelliJ 기본 형식의 FIXME 주석을 사용해야 합니다. (link)
#️⃣ Issue Number
📝 요약(Summary)
V14__populate_i18n_partnership_description.sql의 모든 UPDATE 문(506줄)에 하드코딩되어 있던dev.partnership스키마 접두어를partnership으로 수정. prod 배포 시 스키마명이dev가 아니면 마이그레이션이 실패하거나, 동일 인스턴스에dev스키마가 존재할 경우 엉뚱한 스키마가 갱신되는 위험이 있었음.flyway_schema_history에는 V13, V15가 이미 적용되어 있으나 V10V12, V14는 적용되지 않은 상태였음.V12, V14, V16, V17이 순서 검증 실패 없이 백필되도록 함.application-prod.yml에flyway.out-of-order: true를 임시로 추가하여, 다음 prod 배포 시 누락된 V10💬 공유사항 to 리뷰어
out-of-order: true는 main의 누락된 마이그레이션을 한 번 따라잡기 위한 임시 설정입니다. prod 배포 후flyway_schema_history가 V17까지 정상 적용된 것을 확인하면, 후속 PR에서 해당 설정을 제거(원복)할 예정입니다.✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.