We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb5e7cd commit 36468acCopy full SHA for 36468ac
1 file changed
src/main/java/com/ll/commars/global/initData/BaseInitData.java
@@ -28,6 +28,7 @@
28
import org.springframework.boot.ApplicationRunner;
29
import org.springframework.context.annotation.Bean;
30
import org.springframework.context.annotation.Configuration;
31
+import org.springframework.context.annotation.Profile;
32
33
import java.time.LocalDateTime;
34
import java.util.ArrayList;
@@ -38,6 +39,7 @@
38
39
40
@Configuration
41
@RequiredArgsConstructor
42
+@Profile("dev") // 개발 환경에서만 실행하도록
43
public class BaseInitData {
44
private final ReviewDocService reviewDocService;
45
private final ReviewService reviewService;
0 commit comments