diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties index e5c014b..a0ccff7 100644 --- a/src/main/resources/application-test.properties +++ b/src/main/resources/application-test.properties @@ -1 +1,7 @@ -api.baseUrl=https://testcf.hithomelabs.com \ No newline at end of file +api.baseUrl=https://testcf.hithomelabs.com + +spring.datasource.url: jdbc:h2:mem:testdb +spring.datasource.driver-class-name: org.h2.Driver +spring.datasource.username: sa +spring.datasource.password: +spring.datasource.jpa.hibernate.ddl-auto: none \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index a150ff9..a0264d2 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -24,7 +24,7 @@ spring.datasource.password=${POSTGRES_PASSWORD} spring.datasource.driver-class-name=org.postgresql.Driver spring.sql.init.mode=never -spring.jpa.hibernate.ddl-auto=none +spring.jpa.hibernate.ddl-auto=update spring.jpa.show-sql=true spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect