From 7b4fcfacc9a64d6185515a24d11edbff874e49e0 Mon Sep 17 00:00:00 2001 From: dong2ast Date: Fri, 19 Jan 2024 04:10:08 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=EF=B8=8F=20[CHORE]=20sticker=20ini?= =?UTF-8?q?tDB=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/sopt/lequuServer/InitDb.java | 2 +- .../sopt/lequuServer/domain/sticker/model/StickerCategory.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/sopt/lequuServer/InitDb.java b/src/main/java/org/sopt/lequuServer/InitDb.java index f836980..ebbfe81 100644 --- a/src/main/java/org/sopt/lequuServer/InitDb.java +++ b/src/main/java/org/sopt/lequuServer/InitDb.java @@ -149,7 +149,7 @@ public void dbInit() { .category(CAT) .stickerImage("https://dzfv99wxq6tx0.cloudfront.net/stickers/birth_1.svg") .build(); -// em.persist(sticker1); + em.persist(sticker1); // for (int i = 0; i < 2; i++) { // Sticker sticker = Sticker.builder() // .bookId(0L) diff --git a/src/main/java/org/sopt/lequuServer/domain/sticker/model/StickerCategory.java b/src/main/java/org/sopt/lequuServer/domain/sticker/model/StickerCategory.java index e83ac42..c1d13b9 100644 --- a/src/main/java/org/sopt/lequuServer/domain/sticker/model/StickerCategory.java +++ b/src/main/java/org/sopt/lequuServer/domain/sticker/model/StickerCategory.java @@ -11,7 +11,8 @@ public enum StickerCategory { CUSTOM("커스텀"), EVENT("이벤트"), CAT("고양이"), - ITEM("아이템"); + ITEM("아이템") + ; private final String value; }