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