Setup to allow possible automated testing with a database

This commit is contained in:
neviyn 2021-04-02 21:33:07 +01:00
parent 1d8a214667
commit 633fe0a7fc
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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=