From 59dc656f542053e8179ba0bc1edffb7eabd80cbc Mon Sep 17 00:00:00 2001 From: A248 Date: Thu, 20 May 2021 20:52:25 -0400 Subject: [PATCH] Allow deploying multiple versions of LibertyBans simultaneously It is better to lend credence to capable users than to punish them unduly merely because not all users are as experienced. --- .../space/arim/libertybans/core/database/DatabaseSettings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bans-core/src/main/java/space/arim/libertybans/core/database/DatabaseSettings.java b/bans-core/src/main/java/space/arim/libertybans/core/database/DatabaseSettings.java index ca0c74652..e054781bc 100644 --- a/bans-core/src/main/java/space/arim/libertybans/core/database/DatabaseSettings.java +++ b/bans-core/src/main/java/space/arim/libertybans/core/database/DatabaseSettings.java @@ -128,7 +128,7 @@ private Flyway createFlyway(HikariDataSource hikariDataSource, boolean refresher return Flyway.configure(getClass().getClassLoader()) .dataSource(hikariDataSource).table("libertybans_flyway") .locations(locations.toArray(String[]::new)) - .ignoreFutureMigrations(false).validateMigrationNaming(true).group(true) + .validateMigrationNaming(true).group(true) // Allows usage with existing tables, i.e. from other software .baselineOnMigrate(true).baselineVersion("0.0") .load();