flyway: out-of-order=true 안전망 추가
Build & Deploy to K8s / build-and-deploy (push) Failing after 3m34s
Build & Deploy to K8s / build-and-deploy (push) Failing after 3m34s
운영 DB flyway_schema_history 가 baseline + V015 만 가진 상태에서 V001~V014 가 누락되어 있던 사고를 정리한 후, 향후 비슷한 누락이 있어도 자동 복구 가능하도록 out-of-order 허용. 전제: 운영 DB 의 V015 row 는 별도로 DELETE 처리하여 baseline 만 남겨둔 상태. 다음 부팅에서 V001~V015 가 차례로 적용된다. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -28,6 +28,7 @@ spring:
|
||||
enabled: true
|
||||
baseline-on-migrate: true
|
||||
baseline-version: 0
|
||||
out-of-order: true # 누락된 낮은 버전 마이그레이션도 적용 허용 (V015 이전 누락 케이스 안전망)
|
||||
locations: classpath:db/migration
|
||||
schemas: public
|
||||
table: flyway_schema_history
|
||||
|
||||
Reference in New Issue
Block a user