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

How to generate liquibase change logs along with basic preconditions ?

$
0
0
Hi,

I used generateChangeLog command on an existing database. It helped me auto generating 'create' changesets for all tables, sequences. 

I am interested to know if there is a way to doing same and get preconditions included using generateChangeLog. Say to include basic precondition like if table or sequence already exists.

I went through liquibase documentation but couldn't find any help on this. Googled, but couldn't find much relevant, useful help.

Can anyone let me know if this is possible ?
I can help myself if pointed out to any useful knowledge source too.

Any help is appreciated.

More details:
database: postgres 9.5
liquibase-maven-plugin: 3.4.1

Viewing all articles
Browse latest Browse all 1169

Trending Articles



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