# Generated wrong drop index statement

**URL:** <https://forum.liquibase.org/t/generated-wrong-drop-index-statement/2915>\
**Category:** General Discussion\
**Created:** [February 22, 2014, 5:32am UTC](https://forum.liquibase.org/t/generated-wrong-drop-index-statement/2915 "2014-02-22T05:32:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodrigocprates](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@rodrigocprates](https://forum.liquibase.org/u/rodrigocprates)\
**Post date:** [February 22, 2014, 5:32am UTC](https://forum.liquibase.org/t/generated-wrong-drop-index-statement/2915/1 "2014-02-22T05:32:00Z")

</div>

Hello

I am using Liquibase v3.1.1, and&nbsp;?

---

<div class="post-metadata">

**Author:** ![un1387890141274r97id](https://avatars.discourse-cdn.com/v4/letter/u/e480ec/32.png) [@un1387890141274r97id](https://forum.liquibase.org/u/un1387890141274r97id)\
**Post date:** [February 22, 2014, 5:32am UTC](https://forum.liquibase.org/t/generated-wrong-drop-index-statement/2915/2 "2014-02-22T05:32:00Z")

</div>

I solved extending DropChangeGenerator with steps below:

- &nbsp; &nbsp; &nbsp; &nbsp; throw new UnexpectedLiquibaseException(); //should never throw

---

<div class="post-metadata">

**Author:** ![nvoxland](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@nvoxland](https://forum.liquibase.org/u/nvoxland)\
**Post date:** [February 22, 2014, 5:32am UTC](https://forum.liquibase.org/t/generated-wrong-drop-index-statement/2915/3 "2014-02-22T05:32:00Z")

</div>

Thanks, I created&nbsp;[https://liquibase.jira.com/browse/CORE-1794](https://liquibase.jira.com/browse/CORE-1794) to get the change into the main liquibase code.

Nathan
