diff --git a/src/main/java/kr/bb/payment/entity/Payment.java b/src/main/java/kr/bb/payment/entity/Payment.java index 3763823..ca9203b 100644 --- a/src/main/java/kr/bb/payment/entity/Payment.java +++ b/src/main/java/kr/bb/payment/entity/Payment.java @@ -39,7 +39,7 @@ public class Payment extends BaseEntity { private String orderId; @Enumerated(EnumType.STRING) - @Column(name = "orderType", nullable = false) + @Column(name = "order_type", nullable = false) private OrderType orderType; @Column(name = "payment_cid", nullable = false) diff --git a/src/main/java/kr/bb/payment/entity/common/BaseEntity.java b/src/main/java/kr/bb/payment/entity/common/BaseEntity.java index 19e49f7..2832846 100644 --- a/src/main/java/kr/bb/payment/entity/common/BaseEntity.java +++ b/src/main/java/kr/bb/payment/entity/common/BaseEntity.java @@ -22,5 +22,5 @@ public class BaseEntity { private LocalDateTime updatedAt; @Column(name = "is_deleted") - private Boolean isDeleted; + private Boolean isDeleted = false; }