diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 142b417..c64b101 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,3 @@ spring.jpa.hibernate.ddl-auto=none - spring.datasource.initialization-mode=always -spring.datasource.platform=postgres spring.jpa.properties.hibernate.default_schema=projectplanner \ No newline at end of file diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties new file mode 100644 index 0000000..68acf2f --- /dev/null +++ b/src/test/resources/application.properties @@ -0,0 +1,5 @@ +spring.datasource.url=jdbc:h2:mem:testdb +spring.datasource.driverClassName=org.h2.Driver +spring.flyway.enabled=false +spring.jpa.hibernate.ddl-auto=update +spring.jpa.properties.hibernate.default_schema= \ No newline at end of file