diff --git a/src/main/java/com/DecodEat/domain/products/entity/Product.java b/src/main/java/com/DecodEat/domain/products/entity/Product.java index 556af28..84009ae 100644 --- a/src/main/java/com/DecodEat/domain/products/entity/Product.java +++ b/src/main/java/com/DecodEat/domain/products/entity/Product.java @@ -34,7 +34,7 @@ public class Product extends BaseEntity { @Column(name = "product_name", nullable = false) private String productName; - @Column(name = "product_image", nullable = true) + @Column(name = "product_image", nullable = true, length = 2048) private String productImage; @Enumerated(EnumType.STRING) diff --git a/src/main/java/com/DecodEat/domain/products/entity/ProductInfoImage.java b/src/main/java/com/DecodEat/domain/products/entity/ProductInfoImage.java index 103b0bf..1c7ae6d 100644 --- a/src/main/java/com/DecodEat/domain/products/entity/ProductInfoImage.java +++ b/src/main/java/com/DecodEat/domain/products/entity/ProductInfoImage.java @@ -21,6 +21,6 @@ public class ProductInfoImage extends BaseEntity { @JoinColumn(name = "product_id") private Product product; - @Column(name = "image_url", nullable = false) + @Column(name = "image_url", nullable = false,length = 2048) private String imageUrl; } \ No newline at end of file diff --git a/src/main/java/com/DecodEat/domain/products/entity/RawMaterial/RawMaterialCategory.java b/src/main/java/com/DecodEat/domain/products/entity/RawMaterial/RawMaterialCategory.java index 581137a..9acdce2 100644 --- a/src/main/java/com/DecodEat/domain/products/entity/RawMaterial/RawMaterialCategory.java +++ b/src/main/java/com/DecodEat/domain/products/entity/RawMaterial/RawMaterialCategory.java @@ -7,5 +7,7 @@ public enum RawMaterialCategory { COMPLEX_CARBOHYDRATE, REFINED_CARBOHYDRATE, ADDITIVES, + SOLUBLE_DIETARY_FIBER, + INSOLUBLE_DIETARY_FIBER, OTHERS }