Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : Tag changset in sql format

$
0
0
Ok, thanks. I would like to use sql format and have some features from xml (tag, preconditions, context etc.). Is it good practice to write changesets in xml and sql command always insert into sql tag?

Example:

  1. <changeSet author="Me" id="example">
  2.       <tagDatabase tag="version_1.3"/>
  3.       <sql>
  4.             CREATE TABLE test ....
  5.       </sql>
  6.       <rollback>
  7.             <dropTable tableName="test"/>
  8.       </rollback>
  9. </changeSet>
Thank you.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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