throw new IOException(String.format("directory %s should exists and be a directory", this.baseDirectory));
}
// used for Flyway 3.0:
ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
DataSource ds = new DriverDataSource(classLoader, null, url, user, password, initSql);
support = DbSupportFactory.createDbSupport(ds.getConnection(), true);
}