Open
Conversation
chamelewan
commented
Nov 20, 2025
dohyeon0608
reviewed
Nov 20, 2025
Comment on lines
+27
to
+28
| @Column(columnDefinition = "INTEGER DEFAULT 0") | ||
| private Integer viewCount; |
There was a problem hiding this comment.
혹시 여기서 columnDefination가 어떤 역할을 하는 걸까요? 보아하니 기본값을 0으로 설정하는 코드처럼 보이는데... 이렇게 설정할 수도 있다니 신기하네요!
| @@ -0,0 +1,28 @@ | |||
| spring: | |||
There was a problem hiding this comment.
application.yml이 gitignore되지 않았네요? 지금 DB는 로컬에서 쓰는 거라 다행이긴 하지만 AWS 쓸 때는 보안을 위해서라도 꼭 ignore해주셨으면 좋겠습니다.
eunjin0840
reviewed
Nov 20, 2025
There was a problem hiding this comment.
Builder.Default 는 어떤 역할을 하는 건가요?
중간에 viewCount 필드가 있는 것 같은데 viewCount를 필드로 관리하는 이유가 있을까요?
This file contains hidden or 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
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.