Repository navigation
♻️ week_order 컬럼을 topic_order로 리네임 (V13) - #51
Merged
Merged
Conversation
- V13 마이그레이션: ALTER TABLE topic RENAME COLUMN week_order TO topic_order - Topic 엔티티의 @column(name = "week_order") 매핑 제거 (필드명 topicOrder 기본 네이밍 사용) - 로컬 MySQL에서 V13 적용 및 ddl-auto=validate 통과 확인 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
개요
topic.week_order컬럼을topic_order로 리네임합니다. 코드 레벨 리네임(weekOrder→topicOrder)은 이전에 끝났고, 이번 PR에서 DB 컬럼까지 맞춥니다.변경 사항
V13__rename_week_order_to_topic_order.sql추가ALTER TABLE topic RENAME COLUMN week_order TO topic_order;Topic.java에서@Column(name = "week_order")매핑 제거 (기본 네이밍으로topic_order매핑)TopicRotationPolicy주석의 컬럼명 수정V5__seed_topics.sql주석에week_order가 남아 있지만, 체크섬 때문에 그대로 둠검증
./gradlew test통과ddl-auto: validate통과 → 정상 기동feat/submission-history(V14)보다 먼저 머지해야 합니다.V14가 먼저 들어가면 Flyway가 V13을 순서가 어긋난 마이그레이션으로 판단해 실패합니다.
API 영향
없음 (응답 필드는 이미
topicOrder)