Skip to content

Commit

Permalink
hotfix: Prod 배포시 DummyData 추가되지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
TaeyeonRoyce committed Oct 6, 2024
1 parent a4559fe commit 7130cbe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ import com.celuveat.restaurant.adapter.out.persistence.entity.RestaurantImageJpa
import com.celuveat.restaurant.adapter.out.persistence.entity.RestaurantImageJpaRepository
import com.celuveat.restaurant.adapter.out.persistence.entity.RestaurantJpaEntity
import com.celuveat.restaurant.adapter.out.persistence.entity.RestaurantJpaRepository
import java.time.LocalDate
import org.springframework.boot.context.event.ApplicationReadyEvent
import org.springframework.context.annotation.Profile
import org.springframework.context.event.EventListener
import org.springframework.stereotype.Component
import java.time.LocalDate

@Suppress("ktlint:standard:max-line-length")
@Component
@Profile("local", "prod")
@Profile("local")
class DummyEntityInitializer(
private val memberJpaRepository: MemberJpaRepository,
private val celebrityJpaRepository: CelebrityJpaRepository,
Expand Down

0 comments on commit 7130cbe

Please sign in to comment.