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