# liquibase do not drop sequences in Postgres in case dropFirst is true (tested on 3.1.1,3.3.2)

**URL:** <https://forum.liquibase.org/t/liquibase-do-not-drop-sequences-in-postgres-in-case-dropfirst-is-true-tested-on-3-1-1-3-3-2/3195>\
**Category:** General Discussion\
**Created:** [March 18, 2015, 3:21am UTC](https://forum.liquibase.org/t/liquibase-do-not-drop-sequences-in-postgres-in-case-dropfirst-is-true-tested-on-3-1-1-3-3-2/3195 "2015-03-18T03:21:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vitaliy](https://avatars.discourse-cdn.com/v4/letter/v/4bbf92/32.png) [@Vitaliy](https://forum.liquibase.org/u/Vitaliy)\
**Post date:** [March 18, 2015, 3:21am UTC](https://forum.liquibase.org/t/liquibase-do-not-drop-sequences-in-postgres-in-case-dropfirst-is-true-tested-on-3-1-1-3-3-2/3195/1 "2015-03-18T03:21:00Z")

</div>

Hello Nathan,

I’ve noticed liquibase do not drop sequences in postgres in case dropFirst is true.  
(tested on postgres 9.3, liquibase 3.1.1, 3.3.2)

in case it is a bug I can submit a bug request to jira.

as a workaround one can add the following to the begin of the db-changelog.sql file  
–changeset youName:1 context:test failOnError:true  
DROP SEQUENCE IF EXISTS your\_sequence;

PS Thank you for supporting this great project!

Regards,  
Vitaliy
