(Quick Reference)

dbm-validate

Purpose

Checks the changelog for errors.

Description

Prints any validation messages to the console.

Usage:

grails [environment] dbm-validate --dataSource=[dataSource]

Required arguments: none .

Optional arguments:

  • dataSource - if provided will run the script for the specified dataSource. Not needed for the default dataSource.

Note that the dataSource parameter name and value must be quoted if executed in Windows, e.g.
grails dbm-validate "--dataSource=[dataSource]"

For the dataSource parameter if the data source is configured as dataSource_reports in DataSource.groovy the suffix of reports will be used as the parameter value.
--dataSource=reports