Skip to content

Commit

Permalink
Fixed #2303: SQL Server 2019 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Fontaine committed Feb 8, 2019
1 parent e155e57 commit 0e5fe5e
Showing 1 changed file with 15 additions and 1 deletion.
Expand Up @@ -76,6 +76,17 @@ protected SQLServerConnection getConnection(Connection connection
);
}












@Override
public final void ensureSupported() {
ensureDatabaseIsRecentEnough("10.0");
Expand All @@ -85,7 +96,7 @@ public final void ensureSupported() {

ensureDatabaseNotOlderThanOtherwiseRecommendUpgradeToFlywayEdition("13.0", org.flywaydb.core.internal.license.Edition.PRO);

recommendFlywayUpgradeIfNecessary("14.0");
recommendFlywayUpgradeIfNecessary("15.0");
}

@Override
Expand Down Expand Up @@ -115,6 +126,9 @@ protected String computeVersionDisplayName(MigrationVersion version) {
if ("14".equals(getVersion().getMajorAsString())) {
return "2017";
}
if ("15".equals(getVersion().getMajorAsString())) {
return "2019";
}
}
return super.computeVersionDisplayName(version);
}
Expand Down

0 comments on commit 0e5fe5e

Please sign in to comment.