-
Notifications
You must be signed in to change notification settings - Fork 0
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
#14/record #21
Merged
Merged
#14/record #21
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: Avatar 엔티티 생성 * feat: Category enum 생성 * feat: Member 엔티티 생성 * feat: Post 엔티티 생성 * feat: Comment 엔티티 생성 * feat: PostLike 엔티티 생성 * feat: PostPhoto 엔티티 생성 * feat: Record 엔티티 생성 * feat: RecordPhoto 엔티티 생성 * feat: Report 엔티티 생성 * feat: Tag 엔티티 생성 * feat: BaseTimeEntity 추상 클래스 생성 * feat: ReportType enum 생성 * chore: category id 추가 * chore: submodule 변경사항
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
체크리스트(PR 올리기 전 아래 내용을 확인해주세요)
이슈 번호
이슈 번호를 작성해주세요. close 키워드를 붙이면 merge시 자동 close 됩니다!
close #14
구현 기능
기록 추가만 구현했습니다.
논의 하고 싶은 내용
지금 h2에 맞게 쿼리를 변경한 상태입니다. 만약 main에 머지할려고 할 때 제가 MySQL 버전으로 쿼리로 안 바꾸고 머지 할려고 하면 말해주세요. h2와 MySQL의 문법이 거의 일치하지만 약간 식만 다르다고 하네요
공유하고 싶은 내용
지금 RDS나 h2에 임의의 값을 추가하면 BASETIMEENTITY가 반응을 안할겁니다.
TodaysGymApplication에 @EnableJpaAuditing을 추가해야 반응을 합니다. @createdby, @LastModifiedBy를 사용가능하게 해주는 어노테이션입니다. 더 많은 능력을 가지고 있어요. 이거 빨리 추가해야할거 같아서 PR 했습니다.