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

feat: convert nickname length policy from 3 to 5 #24

Merged
merged 1 commit into from
Aug 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data class CreateTestResponseRequest(
val testResponseDetails: List<CreateTestResponseDetailRequest>)

data class CreateUserRequest(
@field:Size(min = 1, max = 3, message = "사용자 이름은 최소 1글자 최대 3글자까지 가능합니다.")
@field:Size(min = 1, max = 5, message = "사용자 이름은 최소 1글자 최대 5글자까지 가능합니다.")
val name: String)

data class CreateTestResponseDetailRequest(
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/swyg/hollang/entity/User.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import swyg.hollang.entity.common.BaseTimeEntity
@Entity
class User (

@Column(name = "name", nullable = false, length = 3)
@Column(name = "name", nullable = false, length = 5)
val name: String,

) : BaseTimeEntity() {
Expand Down