diff --git a/src/main/java/com/wanted/teamr/tastyfinder/TastyFinderApplication.java b/src/main/java/com/wanted/teamr/tastyfinder/TastyFinderApplication.java index ee58a2d..073de9f 100644 --- a/src/main/java/com/wanted/teamr/tastyfinder/TastyFinderApplication.java +++ b/src/main/java/com/wanted/teamr/tastyfinder/TastyFinderApplication.java @@ -4,13 +4,11 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; -import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import java.util.TimeZone; @EnableScheduling @SpringBootApplication -@EnableJpaAuditing public class TastyFinderApplication { public static void main(String[] args) { diff --git a/src/main/java/com/wanted/teamr/tastyfinder/api/config/JpaAuditingConfig.java b/src/main/java/com/wanted/teamr/tastyfinder/api/config/JpaAuditingConfig.java new file mode 100644 index 0000000..ef00c5a --- /dev/null +++ b/src/main/java/com/wanted/teamr/tastyfinder/api/config/JpaAuditingConfig.java @@ -0,0 +1,9 @@ +package com.wanted.teamr.tastyfinder.api.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.data.jpa.repository.config.EnableJpaAuditing; + +@Configuration +@EnableJpaAuditing +public class JpaAuditingConfig { +}