issues
search
beaniejoy
/
dongne-cafe-api
☕️ kotlin & spring boot application (toy project) / siren order service for local cafe
2
stars
1
forks
source link
flyway db migration 분리
#28
Closed
beaniejoy
closed
1 year ago
beaniejoy
commented
1 year ago
Now
dongne-service-api 모듈 실행시 flyway 자동 적용
이렇게 되면 db 테이블 혹은 데이터 변경시에 제대로 반영안되는 문제 발생할 수 있음
ex) db 테이블 내용 변경으로 인해 flyway migration 신규 추가된 상황에서 dongne-service-api를 재실행하기 전까지 db에 반영이 안될 수 있음
Refactoring
flyway 모듈용 디렉토리 따로 생성해서 기존 dongne-service-api, dongne-account-api 모듈과 독립적으로 운영
db migration시 flyway 모듈만 따로 실행시킬 수 있음
Now
Refactoring