Package io.quarkus.liquibase.runtime
Class LiquibaseDataSourceRuntimeConfig
java.lang.Object
io.quarkus.liquibase.runtime.LiquibaseDataSourceRuntimeConfig
The liquibase data source runtime time configuration
-
Field Summary
FieldsModifier and TypeFieldDescriptionMap of parameters that can be used inside Liquibase changeLog files.booleantrueto execute Liquibase clean command automatically when the application starts,falseotherwise.Comma-separated case-sensitive list of ChangeSet contexts to execute for liquibase.The liquibase change log lock table name.The liquibase change log table name.(package private) static final StringThe default liquibase lock table(package private) static final StringThe default liquibase log tableThe name of Liquibase's default catalog.The name of Liquibase's default schema.Comma-separated case-sensitive list of expressions defining labeled ChangeSet to execute for liquibase.The name of the catalog with the liquibase tables.The name of the schema with the liquibase tables.The name of the tablespace where the -LOG and -LOCK tables will be created (if they do not exist yet).booleantrueto execute Liquibase automatically when the application starts,falseotherwise.booleantrueto validate the applied changes against the available ones,falseotherwise. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final LiquibaseDataSourceRuntimeConfigCreates aLiquibaseDataSourceRuntimeConfigwith default settings.
-
Field Details
-
DEFAULT_LOCK_TABLE
The default liquibase lock table- See Also:
-
DEFAULT_LOG_TABLE
The default liquibase log table- See Also:
-
migrateAtStart
trueto execute Liquibase automatically when the application starts,falseotherwise. -
validateOnMigrate
trueto validate the applied changes against the available ones,falseotherwise. It is only used ifmigration-at-startistrue -
cleanAtStart
trueto execute Liquibase clean command automatically when the application starts,falseotherwise. -
contexts
Comma-separated case-sensitive list of ChangeSet contexts to execute for liquibase. -
labels
Comma-separated case-sensitive list of expressions defining labeled ChangeSet to execute for liquibase. -
changeLogParameters
Map of parameters that can be used inside Liquibase changeLog files. -
databaseChangeLogLockTableName
@ConfigItem(defaultValue="DATABASECHANGELOGLOCK") public Optional<String> databaseChangeLogLockTableNameThe liquibase change log lock table name. Name of table to use for tracking concurrent Liquibase usage. -
databaseChangeLogTableName
The liquibase change log table name. Name of table to use for tracking change history. -
defaultCatalogName
The name of Liquibase's default catalog. -
defaultSchemaName
The name of Liquibase's default schema. Overwrites the default schema name (returned by the RDBMS) with a different database schema. -
liquibaseCatalogName
The name of the catalog with the liquibase tables. -
liquibaseSchemaName
The name of the schema with the liquibase tables. -
liquibaseTablespaceName
The name of the tablespace where the -LOG and -LOCK tables will be created (if they do not exist yet).
-
-
Constructor Details
-
LiquibaseDataSourceRuntimeConfig
public LiquibaseDataSourceRuntimeConfig()
-
-
Method Details
-
defaultConfig
Creates aLiquibaseDataSourceRuntimeConfigwith default settings.- Returns:
LiquibaseDataSourceRuntimeConfig
-