• Task
  • Version · 6.0
  • Deliver

Customize a Policy check

Last updated: August 11, 2026

Procedure

1

Run this command in the CLI to create a copy of the check.

liquibase checks copy --check-name=SqlUserDefinedPatternCheck
2

Initiate the customization process

liquibase checks customize --check-name=CustomCheckTemplate
3

Provide a search string for the policy check to search for.

4

Provide a message for your check

5

The CLI will prompt you to review the table to confirm the customization

6

Add the following to the changelog.sql file and save your changes:

--changeset other.dev:4 labels:v0 context:all
truncate person;
7

Execute the checks run command

liquibase checks run

Results