Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce alias to *SQL commands and Maven plugin goals #159

Open
fbiville opened this issue Mar 17, 2022 · 1 comment
Open

Introduce alias to *SQL commands and Maven plugin goals #159

fbiville opened this issue Mar 17, 2022 · 1 comment

Comments

@fbiville
Copy link
Collaborator

fbiville commented Mar 17, 2022

There are today a number of commands (and Maven plugin goals) that contain SQL in their name... which is a bit unfortunate for non-RDBMS targets.

The list is as follows (based on liquibase.integration.commandline.Main.COMMANDS):

  • changelogSyncSQL
  • changelogSyncToTagSQL
  • executeSQL
  • futureRollbackCountSQL
  • futureRollbackFromTagSQL
  • futureRollbackSQL
  • markNextChangeSetRanSQL
  • migrateSQL
  • rollbackOneChangeSetSQL
  • rollbackOneUpdateSQL
  • rollbackCountSQL
  • rollbackSQL
  • rollbackToDateSQL
  • updateCountSQL
  • updateSQL
  • updateToTagSQL
@fbiville fbiville changed the title Introduce alias to updateSQL command Introduce alias to update*SQL commands Mar 17, 2022
@fbiville fbiville changed the title Introduce alias to update*SQL commands Introduce alias to *SQL commands Mar 17, 2022
@fbiville fbiville changed the title Introduce alias to *SQL commands Introduce alias to *SQL commands and Maven plugin goals Mar 17, 2022
@fbiville
Copy link
Collaborator Author

fbiville commented Mar 17, 2022

I think this one may be better solved on Liquibase core side.
We could introduce variants with a dryRun prefix instead of the SQL suffix: updateSQL would become dryRunUpdate e.g..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants