Hi,
I am trying to add comments to my changesets but even though it creates comments inside SQL statements as well as in the update database scripts it doesn't seem to be able to add that to the DATABASECHANGELOG table. Isn't that the expected behaviour?
on a related note, in the documentation there is this example:
<changeSet author="liquibase-docs" id="sql-example">
<sql dbms="h2, oracle"
endDelimiter="\nGO"
splitStatements="true"
stripComments="true">insert into person (name) values ('Bob')
<comment>What about Bob?</comment>
</sql>
</changeSet>
That doesn't work as advertised.
You have to put the <comment> tag OUTSIDE the <sql> tag for that to work.
Thanks.