RequireChangesetDisUUID

This check alerts you when a changeset ID does not follow the 8-4-4-4-12 pattern of UUID or GUID.

Uses

Use the check to notify you when the 8-4-4-4-12 pattern of UUID or GUID is not followed when creating a changeset ID. The 8-4-4-4-12 UUID or GUID pattern is straightforward, but also easy to mistype, which can cause failures in other tools down your chain which count on a valid UUID or GUID. This quality check, like other checks, can be configured with a severity level which returns an exit code designed to stop automated jobs, giving your team time to make sure simple mistakes are not deployed.

Run the RequireChangesetDisUUID check

To run the RequireChangesetDisUUID check, ensure you have a Liquibase Pro license and the checks-scope property includes changelog. The checks-scope parameter is set in the default properties file, environment variable, or any standard method. Then, check the changelog to see if RequireChangesetDisUUID is enabled.

Enable the RequireChangesetDisUUID check by running the following command in the CLI:

liquibase checks enable --check-name=RequireChangesetDisUUID
Short Name Scope Enabled Severity Customization Description
RequireChangesetDisUUID changelog

false

Default value: 0

  • 'INFO' | 0
  • 'MINOR' | 1
  • 'MAJOR' | 2
  • 'CRITICAL' | 3
  • 'BLOCKER' | 4

<none>

This check alerts you when a changeset ID does not follow the 8-4-4-4-12 pattern of UUID or GUID.