Multiple contexts not recognized in formatted SQL when using AND (3.5.1)
Description
Environment
Linux, Java 1.7, Formatted SQL and changelog.xml
Activity
Show:
Radosław Dziadosz July 31, 2017 at 9:38 PM
Your syntax is wrong, check documentation: http://www.liquibase.org/documentation/sql_format.html
--liquibase formatted sql
--changeset lname:xyz_example context:"tag1 and tag2"
Details
Details
Reporter
Florian Schaller
Florian SchallerComponents
Priority
Created June 12, 2017 at 3:53 PM
Updated July 31, 2017 at 9:38 PM
Hello,
i have in Version 3.5.1 the same Problem as in [#https://liquibase.jira.com/browse/CORE-2660] mentioned.
I can not execute two contexts with the AND Operator.
This is my changeset
--liquibase formatted sql --changeset xyz_example author:lname context:"tag1 and tag2"
I tried different ways to execute on command line. But nothing helps.
liquibase --defaultsFile=example.cfg --contexts="tag1 and tag2" updateSQL
Is there still a Bug in Version 3.5.1?
Thanks in advance.
Best regards,
Florian
ps: Tested with Version 3.5.0. Same Problem with formatted SQL and multiple contexts.