Create an additional checks settings file
This article describes creating and customizing an additional checks settings file after making your initial file.
Procedure
1
Create a duplicate settings file with a custom name
Use the shell cp
or copy
command to create a duplicate settings file with a custom name. In this example we will use oracle-checks.yaml
.
Linux: cp liquibase.checks-settings.conf oracle-checks.yaml
Windows: copy liquibase.checks-settings.conf oracle-checks.yaml
2
Use checks bulk-set to disable all checks
Use checks bulk-set
to disable all checks within the custom settings file you just created.
liquibase checks bulk-set --disable
3
Use checks enable to enable only the checks you want to include
Use checks enable
to enable only the checks you want to include (see a list of checks to choose from):
liquibase checks enable --check-name=<checkName1>
liquibase checks enable --check-name=<checkName2>
4
Use checks show to verify that you've enabled all the checks you want
liquibase checks show