将数据库从H2更改为MySQL

This commit is contained in:
2026-01-30 09:09:53 +08:00
parent e93a30905b
commit 09028d97f7
5 changed files with 147 additions and 382 deletions

View File

@@ -54,6 +54,7 @@
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>${mysql.version}</version>
<scope>runtime</scope>
</dependency>
@@ -83,13 +84,6 @@
<scope>runtime</scope>
</dependency>
<!-- H2 Database -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>