liquibase-neo4j icon indicating copy to clipboard operation
liquibase-neo4j copied to clipboard

Introduce alias to `*SQL` commands and Maven plugin goals

Open fbiville opened this issue 2 years ago • 1 comments

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 avatar Mar 17 '22 10:03 fbiville

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..

fbiville avatar Mar 17 '22 10:03 fbiville