Skip to content

프로덕션 환경 JPA ddl-auto 설정 변경 필요 #13

@coderabbitai

Description

@coderabbitai

설명

프로덕션 환경 설정 파일(application-prod.yml)에서 ddl-auto의 기본값이 update로 설정되어 있습니다. 이는 프로덕션 환경에서 예상치 못한 스키마 변경이 자동으로 발생할 수 있어 데이터 손실이나 애플리케이션 오류를 초래할 위험이 있습니다.

작업 내용

MVP 종료 후 다음 사항을 수정해야 합니다:

  • application-prod.ymlddl-auto 기본값을 validate 또는 none으로 변경
  • 프로덕션 환경에서는 Flyway를 통해서만 스키마를 관리하도록 보장
  • 관련 설정에 Flyway가 스키마 변경의 유일한 소스임을 명시하는 주석 추가

관련 링크

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions