FluentConfiguration |
FluentConfiguration.baselineDescription(java.lang.String baselineDescription) |
Sets the description to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineMigrationPrefix(java.lang.String baselineMigrationPrefix) |
Sets the file name prefix for baseline migrations.
|
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.cherryPick(java.lang.String... cherryPickAsString) |
Gets the migrations that Flyway should consider when migrating or undoing.
|
FluentConfiguration |
FluentConfiguration.cherryPick(MigrationPattern... cherryPick) |
Gets the migrations that Flyway should consider when migrating or undoing.
|
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.connectRetriesInterval(int connectRetriesInterval) |
The maximum time between retries when attempting to connect to the database in seconds.
|
FluentConfiguration |
FluentConfiguration.createSchemas(boolean createSchemas) |
Whether Flyway should attempt to create the schemas specified in the schemas property
|
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.defaultSchema(java.lang.String schema) |
Sets the default schema managed by Flyway.
|
FluentConfiguration |
FluentConfiguration.detectEncoding(boolean detectEncoding) |
Whether Flyway should try to automatically detect SQL migration file encoding
|
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.failOnMissingLocations(boolean failOnMissingLocations) |
Whether to fail if a location specified in the flyway.locations option doesn't exist
|
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) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.ignoreIgnoredMigrations(boolean ignoreIgnoredMigrations) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.ignoreMigrationPatterns(java.lang.String... ignoreMigrationPatterns) |
Ignore migrations that match this comma-separated list of patterns when validating migrations.
|
FluentConfiguration |
FluentConfiguration.ignoreMigrationPatterns(ValidatePattern... ignoreMigrationPatterns) |
Ignore migrations that match this array of ValidatePatterns when validating migrations.
|
FluentConfiguration |
FluentConfiguration.ignoreMissingMigrations(boolean ignoreMissingMigrations) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.ignorePendingMigrations(boolean ignorePendingMigrations) |
Deprecated.
|
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.javaMigrationClassProvider(ClassProvider<JavaMigration> javaMigrationClassProvider) |
Custom ClassProvider to be used to look up JavaMigration classes.
|
FluentConfiguration |
FluentConfiguration.javaMigrations(JavaMigration... javaMigrations) |
The manually added Java-based migrations.
|
FluentConfiguration |
FluentConfiguration.jdbcProperties(java.util.Map<java.lang.String,java.lang.String> jdbcProperties) |
Properties to pass to the JDBC driver object
Flyway Teams only
|
FluentConfiguration |
FluentConfiguration.kerberosConfigFile(java.lang.String kerberosConfigFile) |
When connecting to a Kerberos service to authenticate, the path to the Kerberos config file.
|
FluentConfiguration |
FluentConfiguration.licenseKey(java.lang.String licenseKey) |
Your Flyway license key (FL01...).
|
FluentConfiguration |
FluentConfiguration.loadDefaultConfigurationFiles() |
Load configuration files from the default locations:
$installationDir$/conf/flyway.conf
$user.home$/flyway.conf
$workingDirectory$/flyway.conf
The configuration files must be encoded with UTF-8.
|
FluentConfiguration |
FluentConfiguration.loadDefaultConfigurationFiles(java.lang.String encoding) |
Load configuration files from the default locations:
$installationDir$/conf/flyway.conf
$user.home$/flyway.conf
$workingDirectory$/flyway.conf
|
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.lockRetryCount(int lockRetryCount) |
|
FluentConfiguration |
FluentConfiguration.loggers(java.lang.String... loggers) |
The loggers Flyway should use.
|
FluentConfiguration |
FluentConfiguration.mixed(boolean mixed) |
Whether to allow mixing transactional and non-transactional statements within the same migration.
|
FluentConfiguration |
FluentConfiguration.oracleKerberosCacheFile(java.lang.String oracleKerberosCacheFile) |
When authenticating to Oracle via Kerberos, the location of the local Kerberos config cache (optional).
|
FluentConfiguration |
FluentConfiguration.oracleKerberosConfigFile(java.lang.String oracleKerberosConfigFile) |
Deprecated.
|
FluentConfiguration |
FluentConfiguration.oracleSqlplus(boolean oracleSqlplus) |
Whether 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.oracleWalletLocation(java.lang.String oracleWalletLocation) |
The location of your Oracle wallet, used to automatically sign in to your databases.
|
FluentConfiguration |
FluentConfiguration.outOfOrder(boolean outOfOrder) |
Allows migrations to be run "out of order".
|
FluentConfiguration |
FluentConfiguration.outputQueryResults(boolean outputQueryResults) |
Whether Flyway should output a table with the results of queries when executing migrations.
|
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.placeholderSeparator(java.lang.String placeholderSeparator) |
Sets the separator of default placeholders.
|
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.resourceProvider(ResourceProvider resourceProvider) |
Custom ResourceProvider to be used to look up resources.
|
FluentConfiguration |
FluentConfiguration.schemas(java.lang.String... schemas) |
Sets the schemas managed by Flyway.
|
FluentConfiguration |
FluentConfiguration.scriptPlaceholderPrefix(java.lang.String scriptPlaceholderPrefix) |
Sets the prefix of every script placeholder.
|
FluentConfiguration |
FluentConfiguration.scriptPlaceholderSuffix(java.lang.String scriptPlaceholderSuffix) |
Sets the suffix of every script placeholder.
|
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.skipExecutingMigrations(boolean skipExecutingMigrations) |
Whether Flyway should skip actually executing the contents of the migrations and only update the schema history table.
|
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.validateMigrationNaming(boolean validateMigrationNaming) |
Whether to validate migrations and callbacks whose scripts do not obey the correct naming convention.
|
FluentConfiguration |
FluentConfiguration.validateOnMigrate(boolean validateOnMigrate) |
Whether to automatically call validate or not when running migrate.
|