H2 database integrated for testing profile

This commit is contained in:
Kruti Shah 2026-01-13 00:56:06 +05:30
parent 02dc401224
commit 9817d77e7f
2 changed files with 8 additions and 2 deletions

View File

@ -1 +1,7 @@
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

View File

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