You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and I liquibase.changeLogSync(new Contexts(this.getContexts()), new LabelExpression("a")); or liquibase.update(new Contexts(this.getContexts()), new LabelExpression("a"));
changelog with id 2 is also getting logged in DB, when It should be just changelog with id ="1" as that only have been labeled "a"
Plus, there is no way to mention label expression to say not to include changelogs without a label.
Version of liquibase: 4.0.0
The text was updated successfully, but these errors were encountered:
Hi @amarjeetkapoor1 Yes that is how Liquibase works. If there is no label, it is eligible to be deployed to the database. https://docs.liquibase.com/concepts/advanced/labels.html
If you run the liquibase --labels=release3 update command, it will deploy all changesets with the label release3 and all changesets without any label.
If I issue an update command with the label "a". It also applies a changelog without any label.
e.g.
and I
liquibase.changeLogSync(new Contexts(this.getContexts()), new LabelExpression("a"));
orliquibase.update(new Contexts(this.getContexts()), new LabelExpression("a"));
changelog with id 2 is also getting logged in DB, when It should be just changelog with id ="1" as that only have been labeled "a"
Plus, there is no way to mention label expression to say not to include changelogs without a label.
Version of liquibase: 4.0.0
The text was updated successfully, but these errors were encountered: