Reverting database changes with an update command and past changelog files

I’m no expert in rollbacks, but it looks like the rollbackToDate (rollbackToDate command | Liquibase Docs) command may be what you need. I think automatic rollbacks can only be done with liquibase XML files. If you have SQL changelogs, then you would need to manually write the rollback SQL.