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.
#️⃣ 연관된 이슈
Resolves #38
📝 작업 내용
활동 추가 API를 구현했습니다.
스크린샷 (선택)
💬 리뷰 요구사항(선택)
위 코드는 Activity 도메인의 일부입니다. @GeneratedValue으로 인해 추가되는 활동의 activity_id가 현재 테이블에서 가장 큰 값 + 1이 아닌, 데이터베이스가 자동으로 생성한 id 값 중에서 최대값을 찾아서 +1을 한 값으로 저장되고 있습니다. 이 부분을 수정해야 하는지 고민이 됩니다...... @GeneratedValue가 없도록 수정한다면 위의 예시가 activity_id 98번이 아닌 8번으로 저장되었을 겁니다!
✅ Check List