Schema changes int->tinyint and foreginkeys/indexes rename (#2922)

* Schema changes int->tinyint and foreginkeys/indexes rename

* Optimize schema migration to do all related changes within one statement per table - i.e. no redundant table re-builds

* Foreign key checks disabled for huge dbs

* Merge unify and convergence schemas as they both do migrations on common tables - reduce downtime

* Rename unify schema
This commit is contained in:
Vasil Ilchev
2026-02-19 13:43:47 +02:00
committed by GitHub
parent 8ee76412b0
commit ea3fe213e0
2 changed files with 184 additions and 22 deletions

View File

@@ -101,6 +101,7 @@ public class HawkbitFlywayDbInit {
.sqlMigrationSuffixes(SQL_MIGRATION_SUFFIXES)
.cleanDisabled(true)
.validateOnMigrate(true)
.ignoreMigrationPatterns("*:missing")
.envVars();
if (CALLBACKS.length == 0) {
if (callbackViaServiceLoader.length != 0) {