Split into multiple changelogs

This commit is contained in:
P0nk
2025-07-14 20:32:43 +02:00
parent e2ac5e448b
commit 97ed3d2da5
43 changed files with 179 additions and 151 deletions
@@ -25,7 +25,8 @@ public class DatabaseMigrations {
private static void runLiquibaseUpdate() {
try (Connection connection = DatabaseConnection.getConnection()) {
liquibase.database.DatabaseConnection databaseConnection = new JdbcConnection(connection);
Liquibase liquibase = new Liquibase("db/changelog.xml", new ClassLoaderResourceAccessor(), databaseConnection);
Liquibase liquibase = new Liquibase("db/changelog-root.xml", new ClassLoaderResourceAccessor(),
databaseConnection);
liquibase.setShowSummaryOutput(UpdateSummaryOutputEnum.LOG);
liquibase.update();
} catch (SQLException | LiquibaseException e) {