Skip to content

Commit

Permalink
feat: 더미 데이터 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
leedy3838 committed Sep 1, 2024
1 parent 383d381 commit 79e4aca
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

/**
* 로컬 환경에서 더미 데이터를 넣을 때 사용하는 annotation Profile이 dev인 경우 사용 일단 현재 개발단계여서 그냥 더미 데이터로 쓰려고 다 열어 놓음. - 나중에 배포 시 닫기
*/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Profile({"local", "dev"})
@Profile({"local", "dev", "prod"})
@Transactional
@Component
public @interface DummyDataInit {
Expand Down

0 comments on commit 79e4aca

Please sign in to comment.