fix(e2e): 修改H2数据库scope为runtime

问题:
- manage-db模块中H2数据库scope为test
- 导致H2数据库不会被打包到JAR文件中
- 测试环境无法使用H2数据库

修复:
- 修改H2数据库scope:test -> runtime
- 修改R2DBC H2 scope:test -> runtime

预期效果:
- H2数据库被打包到JAR文件中
- 测试环境可以使用H2数据库
- Flyway脚本可以正常运行
This commit is contained in:
张翔
2026-04-07 10:25:08 +08:00
parent 4ae0e8d125
commit bfe55a1a21
+2 -2
View File
@@ -60,12 +60,12 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>test</scope>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.r2dbc</groupId>
<artifactId>r2dbc-h2</artifactId>
<scope>test</scope>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>