FluentConfiguration |
FluentConfiguration.baselineDescription(String baselineDescription) |
Sets the description to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineOnMigrate(boolean baselineOnMigrate) |
Whether to automatically call baseline when migrate is executed against a non-empty schema with no schema history table.
|
FluentConfiguration |
FluentConfiguration.baselineVersion(String baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineVersion(MigrationVersion baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.batch(boolean batch) |
Whether to batch SQL statements when executing them.
|
FluentConfiguration |
FluentConfiguration.callbacks(String... callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.callbacks(Callback... callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.cleanDisabled(boolean cleanDisabled) |
Whether to disable clean.
|
FluentConfiguration |
FluentConfiguration.cleanOnValidationError(boolean cleanOnValidationError) |
Whether to automatically call clean or not when a validation error occurs.
|
FluentConfiguration |
FluentConfiguration.configuration(Map<String,String> props) |
Configures Flyway with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(Properties properties) |
Configures Flyway with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(Configuration configuration) |
Configure with the same values as this existing configuration.
|
FluentConfiguration |
FluentConfiguration.configure(Map<String,String> props) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.configure(Properties properties) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.configure(Configuration configuration) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.connectRetries(int connectRetries) |
The maximum number of retries when attempting to connect to the database.
|
FluentConfiguration |
FluentConfiguration.dataSource(String url,
String user,
String password) |
Sets the datasource to use.
|
FluentConfiguration |
FluentConfiguration.dataSource(String url,
String user,
String password,
String... initSqls) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.dataSource(DataSource dataSource) |
Sets the datasource to use.
|
FluentConfiguration |
FluentConfiguration.dryRunOutput(File dryRunOutput) |
Sets the file where to output the SQL statements of a migration dry run.
|
FluentConfiguration |
FluentConfiguration.dryRunOutput(OutputStream dryRunOutput) |
Sets the stream where to output the SQL statements of a migration dry run.
|
FluentConfiguration |
FluentConfiguration.dryRunOutput(String dryRunOutputFileName) |
Sets the file where to output the SQL statements of a migration dry run.
|
FluentConfiguration |
FluentConfiguration.encoding(String encoding) |
Sets the encoding of Sql migrations.
|
FluentConfiguration |
FluentConfiguration.encoding(Charset encoding) |
Sets the encoding of Sql migrations.
|
FluentConfiguration |
FluentConfiguration.envVars() |
Configures Flyway using FLYWAY_* environment variables.
|
FluentConfiguration |
FluentConfiguration.errorHandlers(String... errorHandlerClassNames) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.errorHandlers(ErrorHandler... errorHandlers) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.errorOverrides(String... errorOverrides) |
Rules for the built-in error handler that lets you override specific SQL states and errors codes from error
to warning or from warning to error.
|
FluentConfiguration |
FluentConfiguration.group(boolean group) |
Whether to group all pending migrations together in the same transaction when applying them (only recommended for databases with support for DDL transactions).
|
FluentConfiguration |
FluentConfiguration.ignoreFutureMigrations(boolean ignoreFutureMigrations) |
Whether to ignore future migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.ignoreIgnoredMigrations(boolean ignoreIgnoredMigrations) |
Ignore ignored migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.ignoreMissingMigrations(boolean ignoreMissingMigrations) |
Ignore missing migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.ignorePendingMigrations(boolean ignorePendingMigrations) |
Ignore pending migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.initSql(String initSql) |
The SQL statements to run to initialize a new database connection immediately after opening it.
|
FluentConfiguration |
FluentConfiguration.installedBy(String installedBy) |
The username that will be recorded in the schema history table as having applied the migration.
|
FluentConfiguration |
FluentConfiguration.licenseKey(String licenseKey) |
Flyway's license key.
|
FluentConfiguration |
FluentConfiguration.locations(String... locations) |
Sets the locations to scan recursively for migrations.
|
FluentConfiguration |
FluentConfiguration.locations(Location... locations) |
Sets the locations to scan recursively for migrations.
|
FluentConfiguration |
FluentConfiguration.mixed(boolean mixed) |
Whether to allow mixing transactional and non-transactional statements within the same migration.
|
FluentConfiguration |
FluentConfiguration.oracleSqlplus(boolean oracleSqlplus) |
Whether to Flyway's support for Oracle SQL*Plus commands should be activated.
|
FluentConfiguration |
FluentConfiguration.outOfOrder(boolean outOfOrder) |
Allows migrations to be run "out of order".
|
FluentConfiguration |
FluentConfiguration.placeholderPrefix(String placeholderPrefix) |
Sets the prefix of every placeholder.
|
FluentConfiguration |
FluentConfiguration.placeholderReplacement(boolean placeholderReplacement) |
Sets whether placeholders should be replaced.
|
FluentConfiguration |
FluentConfiguration.placeholders(Map<String,String> placeholders) |
Sets the placeholders to replace in sql migration scripts.
|
FluentConfiguration |
FluentConfiguration.placeholderSuffix(String placeholderSuffix) |
Sets the suffix of every placeholder.
|
FluentConfiguration |
FluentConfiguration.repeatableSqlMigrationPrefix(String repeatableSqlMigrationPrefix) |
Sets the file name prefix for repeatable sql migrations.
|
FluentConfiguration |
FluentConfiguration.resolvers(String... resolvers) |
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
|
FluentConfiguration |
FluentConfiguration.resolvers(MigrationResolver... resolvers) |
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
|
FluentConfiguration |
FluentConfiguration.schemas(String... schemas) |
Sets the schemas managed by Flyway.
|
FluentConfiguration |
FluentConfiguration.skipDefaultCallbacks(boolean skipDefaultCallbacks) |
Whether Flyway should skip the default callbacks.
|
FluentConfiguration |
FluentConfiguration.skipDefaultResolvers(boolean skipDefaultResolvers) |
Whether Flyway should skip the default resolvers.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationPrefix(String sqlMigrationPrefix) |
Sets the file name prefix for sql migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSeparator(String sqlMigrationSeparator) |
Sets the file name separator for sql migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSuffixes(String... sqlMigrationSuffixes) |
The file name suffixes for SQL migrations.
|
FluentConfiguration |
FluentConfiguration.stream(boolean stream) |
Whether to stream SQL migrations when executing them.
|
FluentConfiguration |
FluentConfiguration.table(String table) |
Sets the name of the schema schema history table that will be used by Flyway.
|
FluentConfiguration |
FluentConfiguration.target(String target) |
Sets the target version up to which Flyway should consider migrations.
|
FluentConfiguration |
FluentConfiguration.target(MigrationVersion target) |
Sets the target version up to which Flyway should consider migrations.
|
FluentConfiguration |
FluentConfiguration.undoSqlMigrationPrefix(String undoSqlMigrationPrefix) |
Sets the file name prefix for undo SQL migrations.
|
FluentConfiguration |
FluentConfiguration.validateOnMigrate(boolean validateOnMigrate) |
Whether to automatically call validate or not when running migrate.
|