Posts

Showing posts from February, 2023

Is liquibase save the data while rollback?

If Data inserted from sql script by sql developer manually then liquibase will not preserve any data and user will get any warning or error message in console. But if Data inserted from liquibase changelog file then user will see bellow error while doing rollback from  liquibase command. Command :- liquibase --changeLogFile=<change log file name> rollback<tag name> eg:- liquibase --changeLogFile=tableA.xml rollback tag1 Starting Liquibase at 13:32:38 (version 4.17.0 #4922 built at 2022-10-05 14:56+0000) Liquibase Version: 4.17.0 Liquibase Community 4.17.0 by Liquibase Rolling Back Changeset: tableA.xml::D1::hiralal Unexpected error running Liquibase: No inverse to liquibase.change.core.InsertDataChange created For more information, please use the --log-level flag