fix(db): 일일 질문 시드 ID 충돌 방지 - #203
Merged
Merged
Conversation
daily_questions 추가 시드 마이그레이션에서 명시 ID 삽입을 제거하고, 삽입 전 sequence를 현재 MAX(id)에 맞춰 개발 서버의 테스트 데이터와 PK 충돌하지 않도록 수정
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.
📝 요약(Summary)
daily_questions추가 시드 마이그레이션에서 명시 ID 삽입을 제거했습니다.주요 변경사항
DB 마이그레이션
daily_questionsinsert 컬럼 목록에서id제거daily_questionssequence를 현재MAX(id)기준으로 정렬데이터 정합성
daily_questions_pkey중복 방지검증
id컬럼 미포함 확인.\gradlew.bat compileJava통과.\gradlew.bat test --tests "com.devkor.ifive.nadab.domain.askchat.core.repository.AskChatRagRepositoryIntegrationTest"통과🔗 Related Issue
💬 공유사항
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.