The website gives this as an example to add a column using XML
1 | <changeSet author="liquibase-docs" id="addColumn-example"> |
Here’s what I understand
- This sample adds two columns to the notes table
- author - for me I use ‘wachdorfm’
- id - I use my ticket number
- catalogName - this is the name of the database
- schemaName - this is the schema
- tableName - this is the name of the table getting a key
- column - this starts the information of the column we are trying to add
- type - data type for that column
- constraints - addtional attributes for that column.