[BE] PATCH /post/:id 트랜잭션 개선, POST /post 트랜잭션 적용 #195
Merged
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.
📎 이슈번호
📃 변경사항
🫨 고민한 부분
개발기록 참고
📌 중점적으로 볼 부분
🎇 동작 화면
PATCH /post/:id 트랜잭션 개선
이제 Image 삭제 및 새로 삽입하는 로직, 보드 수정 로직이 모두 하나의 트랜잭션에 들어간다. 성공!
POST /post 트랜잭션 적용
이제 Image와 Board 레코드의 생성 로직이 모두 한 트랜잭션에 들어간다. 성공!
💫 기타사항