Change Types
are database-specific queries to alter
or update
the database via Liquibase
. Change type can be in XML
, YAML
, or JSON
formatted.
Below is some of the list of Change Type Constraints
provided by Liquibase
Constraints |
Add |
Drop |
|
---|---|---|---|
Default value | addDefaultValue | dropDefaultValue | |
Foreign key | addForeignKeyConstraint | ||
Foreign key | addForeignKeyConstraint | ||
Not null | addNotNullConstraint | ||
Primary key | addPrimaryKey | ||
Unique key | addUniqueConstraint |
|