Repository navigation
ci: 개발·운영 배포 분리와 전체 연구실 데이터 이관 준비 - #94
Merged
Merged
Conversation
hapdaypy
marked this pull request as ready for review
October 8, 2026 04:21
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.
운영 배포를 main 채널로 분리하고, 개발 DB의 전체 교수·연구실 정보를 운영 초기 DB에 옮길 수 있도록 준비합니다. 기존 마이그레이션만 실행하면 연구실 321개만 생성되어 자연과학대·생명과학대·인공지능융합대 데이터 일부가 빠집니다. 이제 마이그레이션으로 스키마를 만든 뒤 개발 DB 카탈로그 스냅샷으로 초기 데이터를 교체합니다.
catalog_transfer.py가 단과대·학과·교수·연구실·연구 분야·카테고리와 연결 관계 11개 테이블 전체를 원본 ID/내용으로 이관합니다. 생성 컬럼은 DB가 계산하며 Flyway 기록은 대상 DB의 것을 유지합니다.검증:
43f5d82ccde16f98722f4cd5f66f1af3eaa09326의 전체 CI 통과: Java 전체 테스트, MySQL 8.0 마이그레이션 49개, 데이터 이관/롤백 검증, 복원 DB의 Hibernate 검증과 자연·생명·인융대 연구실 API/후기 0건 확인까지 완료했습니다.운영 DB는 아직 생성 전입니다. 실제 운영 전환 때 개발 DB를 최신 상태로 다시 추출하고, 새 운영 DB에 복원·내용 검증·API 확인을 마친 다음 FE를 연결해야 합니다. 이 PR은 그 준비 단계이며 main 머지나 운영 배포를 수행하지 않습니다.