Skip to content

Commit

Permalink
Fix DB2zOSDatabaseExtension packaging and add get plugin version to d…
Browse files Browse the repository at this point in the history
…atabase type
  • Loading branch information
Barry-RG committed Jun 7, 2024
1 parent 475bac6 commit b6d916f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.flywaydb.community.database.db2z.org.flywaydb.community.database;
package org.flywaydb.community.database;

import java.io.IOException;
import java.nio.charset.StandardCharsets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.sql.Connection;
import java.sql.Types;
import java.util.Properties;
import org.flywaydb.community.database.DB2ZDatabaseExtension;
import org.flywaydb.core.api.ResourceProvider;
import org.flywaydb.core.api.configuration.Configuration;
import org.flywaydb.core.internal.callback.CallbackExecutor;
Expand Down Expand Up @@ -97,4 +98,9 @@ public int getPriority() {
// DB2/zOS needs to be checked in advance of DB2
return 1;
}

@Override
public String getPluginVersion(Configuration config) {
return DB2ZDatabaseExtension.readVersion();
}
}

0 comments on commit b6d916f

Please sign in to comment.