Reputation: 1906
I'm using the liquibase maven plugin to run and rollback the migrations.
I'm running the rollback goal using the command line as follows:
mvn liquibase:rollback -Dliquibase.rollbackCount=1
How to edit the configuration in intiliji idea to run the goal with the given parameter.
I'm using the intellij idea version : 2021.3.2
Upvotes: 0
Views: 833
Reputation: 5850
You need to create a custom Run Configuration for that, here is how to do it: Run/Debug Configuration: Maven
You'll basically need to
Done! Now you just need to select it from the dropdown menu of run configurations and execute it.
Upvotes: 2