Package fr.ght1pc9kc.testy.jooq
Class WithFlywaySchemaHistory.WithFlywaySchemaHistoryBuilder
java.lang.Object
fr.ght1pc9kc.testy.jooq.WithFlywaySchemaHistory.WithFlywaySchemaHistoryBuilder
- Enclosing class:
- WithFlywaySchemaHistory
Builder class for
WithFlywaySchemaHistory
extension.-
Method Summary
Modifier and TypeMethodDescriptionaddVersion
(FlywayVersion version) Add a version into the history.addVersions
(FlywayVersion... versions) Add many versions into the history.build()
Build the extension.setTableName
(String tableName) Define a customized name for the history table.
-
Method Details
-
setTableName
Define a customized name for the history table. If not set, the name of the table will be given by Flyway basic configuration.- Parameters:
tableName
- Name to set for the history table.- Returns:
- Builder instance.
-
addVersion
Add a version into the history.- Parameters:
version
-FlywayVersion
to insert into the history table.- Returns:
- Builder instance.
-
addVersions
public WithFlywaySchemaHistory.WithFlywaySchemaHistoryBuilder addVersions(FlywayVersion... versions) Add many versions into the history.- Parameters:
versions
-FlywayVersion
to insert into the history table.- Returns:
- Builder instance.
-
build
Build the extension.- Returns:
- The built
WithFlywaySchemaHistory
.
-