(Quick Reference)
dbm-clear-checksums
Purpose
Removes current checksums from database. On next run checksums will be recomputed.
Description
Usage:
grails [environment] dbm-clear-checksums --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-clear-checksums "--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.