Is there a way to test if some SQL changelog file is missing?
For example, if the changelog file is in DATABASECHANGELOG table and missing in source files?
I know that Liquibase checks the content of the file but if the file is missing Liquibase does not throw any error.
As far as I know, there is no way to compare you databasechangelog table to your changelogs. But someone else can chime in if I am wrong.
Hello @machacek.jan - Welcome to the Liquibase Community!
There is a command that shows you the changes that have been deployed through the DATABASECHANGELOG that are now missing from the changelog file.
2 Likes