feat: add a pluggable JDBC dialect layer with MySQL support

Fold Flyway V1-V7 into per-dialect baselines and resolve Boot 3/4 Flyway customizer types without a DataSource creation cycle.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
0264408
2026-09-16 11:05:14 +08:00
co-authored by Cursor
parent 9bda7c417c
commit 7d17157633
36 changed files with 1123 additions and 304 deletions
+9 -3
View File
@@ -47,16 +47,22 @@
<!--
Flyway 10+ split PostgreSQL support out of flyway-core into this dialect
module. It is required for migrations to run against PostgreSQL; H2 support
remains bundled in flyway-core so tests need nothing extra.
remains bundled in flyway-core so tests need nothing extra. flyway-mysql is
required for MySQL / MariaDB.
-->
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-mysql</artifactId>
</dependency>
<!--
No JDBC driver is bundled. Add the driver for your target database yourself, e.g.:
org.postgresql:postgresql (production)
com.h2database:h2 (tests / local dev)
org.postgresql:postgresql
com.mysql:mysql-connector-j
com.h2database:h2
-->
</dependencies>