That's kind of a broad question. Do you already know how to do things in XML? Do you have an existing database you are starting with, or are you starting with a new project and an empty database?
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/
The basics are shown on this page: https://www.liquibase.org/documentation/yaml_format.html
Each of the different change types have documentation and examples in XML, yaml, and json formats also - so if you go to https://www.liquibase.org/documentation/changes/add_lookup_table.html, in the middle of the page you will see an example of how to use the 'add lookup table' change type in yaml - it looks like this:
changeSet:
id: addLookupTable-example
author: liquibase-docs
objectQuotingStrategy: LEGACY
changes:
- addLookupTable:
constraintName: fk_address_state
existingColumnName: state
existingTableName: address
newColumnDataType: char(2)
newColumnName: abbreviation
newTableCatalogName: cat
newTableName: state
newTableSchemaName: public
Steve Donie
Principal Software Engineer
Datical, Inc. http://www.datical.com/