diff --git a/flyway-database-databricks/src/main/java/org/flywaydb/community/database/databricks/DatabricksDatabaseType.java b/flyway-database-databricks/src/main/java/org/flywaydb/community/database/databricks/DatabricksDatabaseType.java index a35e7a4..abf58b4 100644 --- a/flyway-database-databricks/src/main/java/org/flywaydb/community/database/databricks/DatabricksDatabaseType.java +++ b/flyway-database-databricks/src/main/java/org/flywaydb/community/database/databricks/DatabricksDatabaseType.java @@ -1,5 +1,6 @@ package org.flywaydb.community.database.databricks; +import org.flywaydb.community.database.DatabricksDatabaseExtension; import org.flywaydb.core.api.ResourceProvider; import org.flywaydb.core.api.configuration.Configuration; import org.flywaydb.core.internal.database.base.BaseDatabaseType; @@ -61,4 +62,9 @@ public Database createDatabase(Configuration configuration, JdbcConnectionFactor public Parser createParser(Configuration configuration, ResourceProvider resourceProvider, ParsingContext parsingContext) { return new DatabricksParser(configuration, parsingContext); } + + @Override + public String getPluginVersion(Configuration config) { + return DatabricksDatabaseExtension.readVersion(); + } }