# Rollback with Liquibase

**URL:** <https://forum.liquibase.org/t/rollback-with-liquibase/2636>\
**Category:** Liquibase Development\
**Created:** [April 8, 2013, 8:31pm UTC](https://forum.liquibase.org/t/rollback-with-liquibase/2636 "2013-04-08T20:31:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://avatars.discourse-cdn.com/v4/letter/g/8dc957/32.png) [@Guest](https://forum.liquibase.org/u/Guest)\
**Post date:** [April 8, 2013, 8:31pm UTC](https://forum.liquibase.org/t/rollback-with-liquibase/2636/1 "2013-04-08T20:31:00Z")

</div>

Hi,

I am currently trying to understand the rollback feature of liquibase. I am unable to understand the execution of the rollback.

Here is my scenario.

I have an application A with the following DB schema

Id----firstname-----lastname------phonenumber

I update the application with email address so now my table looks like this&nbsp;

Id----firstname-----lastname------phonenumber------emailAddress

If the application is not successfully started then I wish to execute the rollback so that I remove the emailAddress.

How can I do it ? I fail to find any examples on the liquibase website so an example will be helpful

Regards

---

<div class="post-metadata">

**Author:** ![pmendelson](https://avatars.discourse-cdn.com/v4/letter/p/fbc32d/32.png) [@pmendelson](https://forum.liquibase.org/u/pmendelson)\
**Post date:** [April 8, 2013, 8:31pm UTC](https://forum.liquibase.org/t/rollback-with-liquibase/2636/2 "2013-04-08T20:31:00Z")

</div>

In liquibase the command to rollback database changes is “rollback.”&nbsp; The documentation for that command is [http://www.liquibase.org/documentation/rollback.html](http://www.liquibase.org/documentation/rollback.html).

&nbsp;

I think the essense of your question is how to trigger rollback.&nbsp; The answer is that you can either trigger it manually or through the api.&nbsp; If you include the liquibase jars in your application you could have your exception handler invoke the liqubase rollback.&nbsp; The simpler way is to do it manually when your test process realizes that the application is not working with that change.
