Skip to content

Commit

Permalink
Rename count param
Browse files Browse the repository at this point in the history
  • Loading branch information
emyl3 committed Nov 7, 2024
1 parent 27f007b commit d3f1679
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testDBActions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
- name: Run liquibase clear checksums
run: docker compose -f docker-compose.db-liquibase-action.yml run --env "LIQUIBASE_ACTION=clear-checksums" db_liquibase_action
- name: Test rolling back on last 20 migrations
run: docker compose -f docker-compose.db-liquibase-action.yml run --entrypoint "gradle liquibaseRollbackCount -PliquibaseCommandValue=20" db_liquibase_action
run: docker compose -f docker-compose.db-liquibase-action.yml run --entrypoint "gradle liquibaseRollbackCount -PliquibaseCount=20" db_liquibase_action
2 changes: 1 addition & 1 deletion backend/db_liquibase_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ case "${action}" in

rollback)
echo "Rolling back to tag: ${rollback_tag}"
gradle liquibaseRollback -PliquibaseCommandValue="${rollback_tag}"
gradle liquibaseRollback -PliquibaseCount="${rollback_tag}"
;;

*) # default condition
Expand Down

0 comments on commit d3f1679

Please sign in to comment.