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

Refacor: 세션 사진 변수명 변경 #62

Closed
wants to merge 24 commits into from

Conversation

gikhoon
Copy link
Member

@gikhoon gikhoon commented Jul 11, 2024

연관된 이슈

이슈링크(url): #47

✅ 작업 내용

  • 변수명 변경: photo -> image

🗣 ️리뷰 요구 사항

DDL 변경 사항

ALTER TABLE session_photo RENAME TO session_image;
ALTER TABLE session_image 
    CHANGE session_photo_id session_image_id BIGINT AUTO_INCREMENT,
    CHANGE session_photo_order session_image_order INT;

gikhoon and others added 24 commits June 28, 2024 15:32
- SessionPhoto 테이블을 Session과 양방향 매핑으로 구축
- 순서가 0 이하거나 총 저장 사진보다 클 경우 예외 발생
- 사진 수정 로직 삭제
- /description -> /update로 통합
- /update/photo -> POST DELETE /photo로 분화
- null, empty인지 판단하는 로직 추가
- 중복된 순서가 있는지 확인
…oto' into feature/#TCTS-5-session-multi-photo
@gikhoon gikhoon self-assigned this Jul 11, 2024
@gikhoon gikhoon closed this Jul 11, 2024
@gikhoon gikhoon deleted the feature/#TCTS-5-session-multi-photo branch August 17, 2024 13:55
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.

1 participant