diff --git a/build.gradle b/build.gradle index 467d706..46758a7 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,8 @@ dependencies { // fcm implementation 'com.google.firebase:firebase-admin:9.2.0' - implementation group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2' + implementation 'com.squareup.okhttp3:okhttp:4.9.3' + implementation 'com.squareup.okio:okio:2.10.0' // 최신버전 // Scheduling implementation 'org.springframework.boot:spring-boot-starter-scheduling' diff --git a/src/main/java/reborn/backend/board/domain/Board.java b/src/main/java/reborn/backend/board/domain/Board.java index 33b0752..7446c46 100644 --- a/src/main/java/reborn/backend/board/domain/Board.java +++ b/src/main/java/reborn/backend/board/domain/Board.java @@ -26,7 +26,7 @@ public class Board extends BaseEntity { private Long id; @Enumerated(EnumType.STRING) - @Column(length = 45, columnDefinition = "varchar(45) default 'ACTIVE'") + @Column(length = 45, columnDefinition = "varchar(45) default 'ACTIVE'", nullable = false) private BoardType boardType; @ManyToOne(fetch = FetchType.LAZY)