diff --git a/src/main/java/corecord/dev/domain/ability/entity/Ability.java b/src/main/java/corecord/dev/domain/ability/entity/Ability.java index b6deb0e..2885073 100644 --- a/src/main/java/corecord/dev/domain/ability/entity/Ability.java +++ b/src/main/java/corecord/dev/domain/ability/entity/Ability.java @@ -25,7 +25,7 @@ public class Ability extends BaseEntity { @Enumerated(EnumType.STRING) private Keyword keyword; - @Column(nullable = false, length = 200) + @Column(nullable = false, length = 300) private String content; @ManyToOne diff --git a/src/main/java/corecord/dev/domain/analysis/entity/Analysis.java b/src/main/java/corecord/dev/domain/analysis/entity/Analysis.java index 969649b..278812e 100644 --- a/src/main/java/corecord/dev/domain/analysis/entity/Analysis.java +++ b/src/main/java/corecord/dev/domain/analysis/entity/Analysis.java @@ -27,7 +27,7 @@ public class Analysis extends BaseEntity { @Column(nullable = false, length = 500) private String content; - @Column(nullable = false, length = 200) + @Column(nullable = false, length = 300) private String comment; @OneToOne(cascade = CascadeType.ALL, orphanRemoval = true) diff --git a/src/main/java/corecord/dev/domain/analysis/service/AnalysisService.java b/src/main/java/corecord/dev/domain/analysis/service/AnalysisService.java index 43bd97d..9898a4e 100644 --- a/src/main/java/corecord/dev/domain/analysis/service/AnalysisService.java +++ b/src/main/java/corecord/dev/domain/analysis/service/AnalysisService.java @@ -215,7 +215,7 @@ private void validAnalysisContentLength(String content) { } private void validAnalysisCommentLength(String comment) { - if (comment.isEmpty() || comment.length() > 200) + if (comment.isEmpty() || comment.length() > 300) throw new AnalysisException(AnalysisErrorStatus.OVERFLOW_ANALYSIS_COMMENT); } @@ -223,7 +223,7 @@ private void validAnalysisKeywordContentLength(Map keywordList) for (Map.Entry entry : keywordList.entrySet()) { String keyContent = entry.getValue(); - if (keyContent.isEmpty() || keyContent.length() > 200) + if (keyContent.isEmpty() || keyContent.length() > 300) throw new AnalysisException(AnalysisErrorStatus.OVERFLOW_ANALYSIS_KEYWORD_CONTENT); } }