Hi, I have the property set in changelog.xml file and I want to use it in included changelog files. Example:
parent file:
databaseChangeLog
property name=“prop” value=“something” global=“false”
include file=“…/public-schema/create.xml” relativeToChangelogFile=“true”
/databaseChangeLog
included file:
databaseChangeLog
changeSet id=“123345567”
preConditions onFail=“MARK_RAN”
not
tableExists tableName=“new_table_${prop}”
not
preConditions
sql
CREATE TABLE new_table_${prop} …
This logic worked in version 4.9.1 but in version 4.17.2 it doesn’t.
It fails with syntax error near “{”, but it seems that it just doesn’t see my “prop” value. If I set global=“true”, everything works fine