FluentConfiguration |
FluentConfiguration.baselineDescription(String baselineDescription) |
Sets the description to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineMigrationPrefix(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(String baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineVersion(Version baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.callbacks(String... callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.callbacks(Callback... callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.cherryPick(String... cherryPickAsString) |
Gets the migrations that MigrateDB should consider when migrating.
|
FluentConfiguration |
FluentConfiguration.cherryPick(MigrationPattern... cherryPick) |
Gets the migrations that MigrateDB should consider when migrating.
|
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 MigrateDB with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(Properties properties) |
Configures MigrateDB 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 MigrateDB should attempt to create the schemas specified in the schemas property
|
FluentConfiguration |
FluentConfiguration.dataSource(String url,
String user,
String password) |
Sets the datasource to use.
|
FluentConfiguration |
FluentConfiguration.dataSource(DataSource dataSource) |
Sets the datasource to use.
|
FluentConfiguration |
FluentConfiguration.defaultSchema(String schema) |
Sets the default schema managed by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.encoding(String encoding) |
Sets the encoding of SQL migrations.
|
FluentConfiguration |
FluentConfiguration.encoding(Charset encoding) |
Sets the encoding of SQL migrations.
|
FluentConfiguration |
FluentConfiguration.errorOverrides(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.
|
<T extends ExtensionConfig> FluentConfiguration |
FluentConfiguration.extensionConfig(Class<T> extensionConfigType,
T value) |
Sets the extension config of type T.
|
FluentConfiguration |
FluentConfiguration.failOnMissingLocations(boolean failOnMissingLocations) |
Whether to fail if a location specified in the migratedb.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) |
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.ignoreMigrationPatterns(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) |
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.javaMigrationClassProvider(ClassProvider<JavaMigration> javaMigrationClassProvider) |
Custom ClassProvider to be used to look up JavaMigration classes.
|
FluentConfiguration |
FluentConfiguration.javaMigrations(Collection<JavaMigration> javaMigrations) |
The additional Java-based migrations.
|
FluentConfiguration |
FluentConfiguration.javaMigrations(JavaMigration... javaMigrations) |
The additional Java-based migrations.
|
FluentConfiguration |
FluentConfiguration.jdbcProperties(Map<String,String> jdbcProperties) |
Properties to pass to the JDBC driver object
|
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.lockRetryCount(int lockRetryCount) |
|
FluentConfiguration |
FluentConfiguration.logger(String... logger) |
The logger(s) MigrateDB should use.
|
FluentConfiguration |
FluentConfiguration.logger(LogSystem logger) |
The logger MigrateDB should use.
|
FluentConfiguration |
FluentConfiguration.mixed(boolean mixed) |
Whether to allow mixing transactional and non-transactional statements within the same migration.
|
FluentConfiguration |
FluentConfiguration.oldTable(@Nullable String oldTable) |
Sets the name of the old table to convert into the format used by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.outOfOrder(boolean outOfOrder) |
Allows migrations to be run "out of order".
|
FluentConfiguration |
FluentConfiguration.outputQueryResults(boolean outputQueryResults) |
Whether MigrateDB should output a table with the results of queries when executing migrations.
|
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.resourceProvider(ResourceProvider resourceProvider) |
Custom ResourceProvider to be used to look up resources.
|
FluentConfiguration |
FluentConfiguration.schemas(String... schemas) |
Sets the schemas managed by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.scriptPlaceholderPrefix(String scriptPlaceholderPrefix) |
Sets the prefix of every script placeholder.
|
FluentConfiguration |
FluentConfiguration.scriptPlaceholderSuffix(String scriptPlaceholderSuffix) |
Sets the suffix of every script placeholder.
|
FluentConfiguration |
FluentConfiguration.skipDefaultCallbacks(boolean skipDefaultCallbacks) |
Whether MigrateDB should skip the default callbacks.
|
FluentConfiguration |
FluentConfiguration.skipDefaultResolvers(boolean skipDefaultResolvers) |
Whether MigrateDB should skip the default resolvers.
|
FluentConfiguration |
FluentConfiguration.skipExecutingMigrations(boolean skipExecutingMigrations) |
Whether MigrateDB should skip actually executing the contents of the migrations and only update the schema
history table.
|
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.table(String table) |
Sets the name of the schema history table that will be used by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.tablespace(String tablespace) |
Sets the tablespace where to create the schema history table that will be used by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.target(String target) |
Sets the target version up to which MigrateDB should consider migrations.
|
FluentConfiguration |
FluentConfiguration.target(TargetVersion target) |
Sets the target version up to which MigrateDB should consider migrations.
|
FluentConfiguration |
FluentConfiguration.target(Version target) |
Sets the target version up to which MigrateDB should consider migrations.
|
FluentConfiguration |
FluentConfiguration.useExtension(MigrateDbExtension extension) |
Enables a single MigrateDB extension.
|
FluentConfiguration |
FluentConfiguration.useExtensions(Iterable<MigrateDbExtension> extensions) |
Enables multiple MigrateDB extensions.
|
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.
|