사용자 도구

사이트 도구


java:database:migration:flyway

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
java:database:migration:flyway [2023/06/08 10:11]
kwon37xi [migration history 자체가 생성이 안 됨]
java:database:migration:flyway [2023/06/08 10:20] (현재)
kwon37xi [migration history는 생성됐으나 success = 0]
줄 115: 줄 115:
 ==== migration history는 생성됐으나 success = 0 ==== ==== migration history는 생성됐으나 success = 0 ====
 <code sql> <code sql>
 +-- 먼저 데이터 확인
 select * from flyway_schema_history WHERE version = <실패한MIGRATION버전>; select * from flyway_schema_history WHERE version = <실패한MIGRATION버전>;
 +
 +-- 성공으로 강제 update
 update flyway_schema_history SET success = 1 WHERE version = <실패한MIGRATION버전>; update flyway_schema_history SET success = 1 WHERE version = <실패한MIGRATION버전>;
 </code> </code>
java/database/migration/flyway.txt · 마지막으로 수정됨: 2023/06/08 10:20 저자 kwon37xi