From 4f43aba1547828c1c9f1981a8219c8ab06a6d0c2 Mon Sep 17 00:00:00 2001 From: Yoonji Lee Date: Fri, 22 Aug 2025 02:09:26 +0900 Subject: [PATCH] =?UTF-8?q?Hotfix:=20notifications=20tinytext=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/domain/notification/entity/Notification.java | 3 +-- src/main/resources/application.properties | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gongspot/project/domain/notification/entity/Notification.java b/src/main/java/com/gongspot/project/domain/notification/entity/Notification.java index f055ae4..a7f4828 100644 --- a/src/main/java/com/gongspot/project/domain/notification/entity/Notification.java +++ b/src/main/java/com/gongspot/project/domain/notification/entity/Notification.java @@ -15,7 +15,7 @@ @AllArgsConstructor @Setter @Entity -@Table(name = "Notifications") +@Table(name = "notifications") public class Notification extends BaseEntity { // 공지사항 엔티티 @@ -30,7 +30,6 @@ public class Notification extends BaseEntity { @Column(name = "title", length = 20) private String title; - @Lob @Column(name = "content") private String content; diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5f5187e..8194d4f 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -9,7 +9,8 @@ spring.datasource.password=${DB_PASSWORD} spring.data.redis.host=localhost spring.data.redis.port=6379 -spring.jpa.hibernate.ddl-auto= update +spring.jpa.hibernate.ddl-auto=validate + spring.jpa.show-sql=true spring.jpa.properties.hibernate.format_sql=true spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect