FluentConfiguration |
FluentConfiguration.baselineDescription(java.lang.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(java.lang.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(java.lang.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(java.util.Map<java.lang.String,java.lang.String> props) |
Configures Flyway with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(java.util.Properties properties) |
Configures Flyway with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(Configuration configuration) |
Configure with the same values as this existing configuration.
|
FluentConfiguration |
FluentConfiguration.connectRetries(int connectRetries) |
The maximum number of retries when attempting to connect to the database.
|
FluentConfiguration |
FluentConfiguration.dataSource(java.lang.String url,
java.lang.String user,
java.lang.String password) |
Sets the datasource to use.
|
FluentConfiguration |
FluentConfiguration.dataSource(javax.sql.DataSource dataSource) |
Sets the datasource to use.
|
FluentConfiguration |
FluentConfiguration.dryRunOutput(java.io.File dryRunOutput) |
Sets the file where to output the SQL statements of a migration dry run.
|
FluentConfiguration |
FluentConfiguration.dryRunOutput(java.io.OutputStream dryRunOutput) |
Sets the stream where to output the SQL statements of a migration dry run.
|
FluentConfiguration |
FluentConfiguration.dryRunOutput(java.lang.String dryRunOutputFileName) |
Sets the file where to output the SQL statements of a migration dry run.
|
FluentConfiguration |
FluentConfiguration.encoding(java.lang.String encoding) |
Sets the encoding of Sql migrations.
|
FluentConfiguration |
FluentConfiguration.encoding(java.nio.charset.Charset encoding) |
Sets the encoding of Sql migrations.
|
FluentConfiguration |
FluentConfiguration.envVars() |
Configures Flyway using FLYWAY_* environment variables.
|
FluentConfiguration |
FluentConfiguration.errorOverrides(java.lang.String... errorOverrides) |
Rules for the built-in error handler that let you override specific SQL states and errors codes in order to force
specific errors or warnings to be treated as debug messages, info messages, warnings or errors.
|
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(java.lang.String initSql) |
The SQL statements to run to initialize a new database connection immediately after opening it.
|
FluentConfiguration |
FluentConfiguration.installedBy(java.lang.String installedBy) |
The username that will be recorded in the schema history table as having applied the migration.
|
FluentConfiguration |
FluentConfiguration.javaMigrations(JavaMigration... javaMigrations) |
The manually added Java-based migrations.
|
FluentConfiguration |
FluentConfiguration.licenseKey(java.lang.String licenseKey) |
Your Flyway license key (FL01...).
|
FluentConfiguration |
FluentConfiguration.locations(java.lang.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.oracleSqlplusWarn(boolean oracleSqlplusWarn) |
Whether Flyway should issue a warning instead of an error whenever it encounters an Oracle SQL*Plus statement
it doesn't yet support.
|
FluentConfiguration |
FluentConfiguration.outOfOrder(boolean outOfOrder) |
Allows migrations to be run "out of order".
|
FluentConfiguration |
FluentConfiguration.placeholderPrefix(java.lang.String placeholderPrefix) |
Sets the prefix of every placeholder.
|
FluentConfiguration |
FluentConfiguration.placeholderReplacement(boolean placeholderReplacement) |
Sets whether placeholders should be replaced.
|
FluentConfiguration |
FluentConfiguration.placeholders(java.util.Map<java.lang.String,java.lang.String> placeholders) |
Sets the placeholders to replace in sql migration scripts.
|
FluentConfiguration |
FluentConfiguration.placeholderSuffix(java.lang.String placeholderSuffix) |
Sets the suffix of every placeholder.
|
FluentConfiguration |
FluentConfiguration.repeatableSqlMigrationPrefix(java.lang.String repeatableSqlMigrationPrefix) |
Sets the file name prefix for repeatable sql migrations.
|
FluentConfiguration |
FluentConfiguration.resolvers(java.lang.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(java.lang.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(java.lang.String sqlMigrationPrefix) |
Sets the file name prefix for sql migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSeparator(java.lang.String sqlMigrationSeparator) |
Sets the file name separator for sql migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSuffixes(java.lang.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(java.lang.String table) |
Sets the name of the schema history table that will be used by Flyway.
|
FluentConfiguration |
FluentConfiguration.tablespace(java.lang.String tablespace) |
Sets the tablespace where to create the schema history table that will be used by Flyway.
|
FluentConfiguration |
FluentConfiguration.target(java.lang.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(java.lang.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.
|