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

validating if databasechangelog has more commits than in provided log file

$
0
0
Hi,

Is there any way to tell liquiebase to validate if the provided changelog file has all  changesets already applied to database,
and in case it doesn't - throw an exception?

e.g
there were 2 changes already applied to database,
but now someone tries to launch an application which has only 1 changeset in the liquibase change log file. (i would like such application to fail to start, because it was designed for an older version of database)

Regards,
Vitaliy S

Viewing all articles
Browse latest Browse all 2993

Trending Articles



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