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

How to get the delta of changeLogs in Liquibase

$
0
0

My requirement is to make liquibase generate only the updated changeSets from the DB compared to the previous chnageSets.

Let's say I have two tables t1 and t2 in my postgresql , so in my changeLog two changeSets are present. Below is for understanding:

<changelog>
    <changeSet> t1 </changeSet>
    <changeSet> t2 </changeSet>
</changelog>

Now, when i create one more table t3, the changeLog would be like below:

<changelog>
    <changeSet> t1 </changeSet>
    <changeSet> t2 </changeSet>
    <changeSet> t3 </changeSet> 
</changelog>

Instead of that I want the liquibase to generate the thing similar to the below which is the updated change:

<changelog>
    <changeSet> t3 </changeSet> 
</changelog>

So that It would be convenient to send the updated changes across the DBs.


Viewing all articles
Browse latest Browse all 1169

Trending Articles



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