We have a utility which generates database code, based on metadata which is added using liquibase. This utility is always executed after running a migration with liquibase. However, in some cases it would be very useful if calls to this utilty could be done from the changelog itself, before performing other actions in subsequent changesets.
I have tried to figure out a way to do this using the executeCommand changetype, but without success. This is what is said in the documentation, however I have not found any practical examples showing how this can be used. So far I have been unable to figure out how to do what I want.
You can typically use the
executeCommand
Change Type to run a script using a specific executable. > One reason to useexecuteCommand
is to insert or update data.