diff --git a/flyway/src/main/scala/com/avast/sst/flyway/FlywayConfig.scala b/flyway/src/main/scala/com/avast/sst/flyway/FlywayConfig.scala index afefdf248..66fc750be 100644 --- a/flyway/src/main/scala/com/avast/sst/flyway/FlywayConfig.scala +++ b/flyway/src/main/scala/com/avast/sst/flyway/FlywayConfig.scala @@ -8,7 +8,6 @@ final case class FlywayConfig(baselineOnMigrate: Boolean = false, baselineVersion: Option[MigrationVersion] = None, targetVersion: Option[MigrationVersion] = None, baselineDescription: Option[String] = None, - batch: Boolean = false, cleanDisabled: Boolean = false, cleanOnValidationError: Boolean = false, connectRetries: Int = 0, @@ -22,5 +21,4 @@ final case class FlywayConfig(baselineOnMigrate: Boolean = false, mixed: Boolean = false, locations: List[String] = List.empty, outOfOrder: Boolean = false, - validateOnMigrate: Boolean = true, - licenseKey: Option[String] = None) + validateOnMigrate: Boolean = true) diff --git a/flyway/src/main/scala/com/avast/sst/flyway/FlywayModule.scala b/flyway/src/main/scala/com/avast/sst/flyway/FlywayModule.scala index 9ce40de7e..2c403bd93 100644 --- a/flyway/src/main/scala/com/avast/sst/flyway/FlywayModule.scala +++ b/flyway/src/main/scala/com/avast/sst/flyway/FlywayModule.scala @@ -14,7 +14,6 @@ object FlywayModule { .configure .dataSource(dataSource) .baselineOnMigrate(config.baselineOnMigrate) - .batch(config.batch) .cleanDisabled(config.cleanDisabled) .cleanOnValidationError(config.cleanOnValidationError) .connectRetries(config.connectRetries) @@ -34,8 +33,6 @@ object FlywayModule { config.installedBy.foreach(builder.installedBy) if (config.locations.nonEmpty) builder.locations(config.locations: _*) - config.licenseKey.foreach(builder.licenseKey) - builder.load() } }