Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Mod] entity 및 마이그레이션 파일 수정 #160

Merged
merged 5 commits into from
Mar 3, 2025

Conversation

jjjh02
Copy link
Contributor

@jjjh02 jjjh02 commented Mar 3, 2025

수정한 코드

  • ApiLog의 id명) ApiLogId -> apiLogId로 수정
  • 주석 제거
  • PreparationUser의 id명) preparationId -> preparationUserId로 수정
  • @onDelete(action = OnDeleteAction.SET_NULL) 설정
    • Schedule entity의 Place - place 삭제시 schedule에서 null로 표시
    • PreparationUser, PreparationSchedule entity의 nextPreparation
    • (place를 삭제하는 메서드는 현재는 없음 / 무효한 place_id(고아 데이터) 발생 가능성 막기 위해 사용)
  • v1__init.sql에서 not null, unique, uuid 설정 수정

@JunbeomKoreaUniv
Copy link
Contributor

확인해봤는데 문제있는 부분 없는 것 같습니다~
이제 운영서버랑 개발서버 분리하는데 개발서버에서 먼저 잘 되는지 테스트해보고 운영서버에도 적용하면 될 것 같습니다!
수고하셨어요~!

@JunbeomKoreaUniv JunbeomKoreaUniv merged commit 5fb27ef into main Mar 3, 2025
2 checks passed
@jjjh02 jjjh02 deleted the mod/migration branch March 12, 2025 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants