-
Notifications
You must be signed in to change notification settings - Fork 2
Tasks
kenshoo-parent edited this page Nov 21, 2011
·
3 revisions
The liquibase tasks provided by the plugin offer close approximation to the liquibase CLI, the easiest way to find how to run a task is:
$ gradle tasks
...
Liquibase tasks
---------------
changeLogSync - Mark all changes as executed in the database.
Can be invoked by providing either of the following options:
changeLogSync -Pcontexts=[String value]
clearCheckSums - Removes current checksums from database. On next run checksums will be recomputed
diff - Writes description of differences (between two db's) to standard out
Can be invoked by providing either of the following options:
diff -PreferenceDatabase=[Database value] -PtargetDatabase=[Database value]
dropAll - Drops all database objects owned by the current user or by given schemas
Can be invoked by providing either of the following options:
dropAll -Pschemas=[String value]
Each task provides a full list of expected parameters (including expected types), in case that a parameter is missing:
$ gradle tag
...
* What went wrong:
Execution failed for task ':db:tag'.
Cause: Not enough properties provided for task, please read documentation on how to use (runing gradle tasks).