Skip to content

Commit e75cea0

Browse files
committed
chore: add h2 for test
1 parent 5ea6382 commit e75cea0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# ??H2?????????
2+
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
3+
spring.datasource.driver-class-name=org.h2.Driver
4+
spring.datasource.username=sa
5+
spring.datasource.password=
6+
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
7+
spring.jpa.hibernate.ddl-auto=create-drop
8+
9+
# ??Flyway/Liquibase????????(???)
10+
spring.flyway.enabled=false
11+
spring.liquibase.enabled=false

0 commit comments

Comments
 (0)