Change Types
are database-specific queries to alter
or update
the database via Liquibase
. Change type can be in XML
, YAML
, or JSON
formatted.
best practice is to have only one Change Type per changeset.
Below is some of the list of Change Type Entities
provided by Liquibase
Entity | Add or Create | Drop | Change | ||||
---|---|---|---|---|---|---|---|
Table | Create Table | Drop Table |
|
||||
Column | Add Column | Drop Column |
|
||||
Index | Create Index | Drop Index | |||||
View | Create View | Drop View | Rename View | ||||
Procedure | Create Procedure | Drop Procedure |
Below are some Change Type Constraints
provided by Liquibase