Quantcast
Viewing all articles
Browse latest Browse all 2993

comments not added to "comments" column in DATABASECHANGELOG table

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.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>