Commit c548d507 by zhoufensong

修改flyway对PostgreSQL较低版本号的校验

parent a4fb71eb
...@@ -69,7 +69,7 @@ public class PostgreSQLDatabase extends Database<PostgreSQLConnection> { ...@@ -69,7 +69,7 @@ public class PostgreSQLDatabase extends Database<PostgreSQLConnection> {
public final void ensureSupported() { public final void ensureSupported() {
ensureDatabaseIsRecentEnough("9.0"); ensureDatabaseIsRecentEnough("9.0");
ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition("9.4", org.flywaydb.core.internal.license.Edition.ENTERPRISE); ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition("9.0", org.flywaydb.core.internal.license.Edition.ENTERPRISE);
recommendFlywayUpgradeIfNecessaryForMajorVersion("12"); recommendFlywayUpgradeIfNecessaryForMajorVersion("12");
} }
...@@ -162,4 +162,4 @@ public class PostgreSQLDatabase extends Database<PostgreSQLConnection> { ...@@ -162,4 +162,4 @@ public class PostgreSQLDatabase extends Database<PostgreSQLConnection> {
+ " WHERE " + quote("installed_rank") + " > ?" + " WHERE " + quote("installed_rank") + " > ?"
+ " ORDER BY " + quote("installed_rank"); + " ORDER BY " + quote("installed_rank");
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment