I couldn’t immediately see, in the current documentation I am looking at:
Will the following work in Liquibase, and use the included SQL file for the rollback?
<changeSet author="username" id="85138">
<sql splitStatements="false">
UPDATE some_table ...;
</sql>
<rollback>
<include file="path/to/rollback.sql"/>
</rollback>
</changeSet>
If I’ve missed the appropriate spot in the documentation, feel free to point out the relevant section.
What you can do is use sqlFile:
As mentioned by another post, include is used for changelog composition only – to include other changelogs.