Skip to content

Commit

Permalink
fix: post content, service name
Browse files Browse the repository at this point in the history
  • Loading branch information
LAPLACE4A committed Nov 7, 2024
1 parent 0802e79 commit 92630a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1 @@
rootProject.name = 'demo'
rootProject.name = 'kiw'
2 changes: 1 addition & 1 deletion src/main/java/com/kert/model/Post.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class Post {
private String description;

@Lob
@Column(nullable = false)
@Column(nullable = false, columnDefinition = "MEDIUMTEXT")
@NotBlank(message = "Content is mandatory")
private String content;

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spring.application.name=demo
spring.application.name=kiw
spring.jackson.property-naming-strategy=SNAKE_CASE
spring.config.import=optional:file:.env[.properties]

Expand Down

0 comments on commit 92630a4

Please sign in to comment.