Forum Stats

  • 3,815,385 Users
  • 2,259,012 Discussions
  • 7,893,063 Comments

Discussions

SQLcl lb changeset labels and context not working properly?

ianm42
ianm42 Member Posts: 38 Blue Ribbon
edited May 6, 2022 10:16AM in SQLcl

Using SQLcl 21.4, it appears that the 'context' argument for Liquibase Changesets is being ignored. Changesets with a 'context' specified are applied no matter what context string is supplied in the update or updatesql command, or if no context string is supplied.

Using 'labels' is a little better. If label A is specified in the command, Changesets with labels A are applied and Changesets with labels B are not applied. But if no label is supplied is specified in the command, all the Changesets are applied, A, B and no label.

Is this the expected functionality?

Answers