# Update failed - PG::UniqueViolation: ERROR

**URL:** <https://meta.discourse.org/t/update-failed-pg-error/103684>\
**Category:** Self-hosting\
**Created:** [7 בדצמבר,‏ 2018,‏ 8:51am UTC](https://meta.discourse.org/t/update-failed-pg-error/103684 "2018-12-07T08:51:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [20 בדצמבר,‏ 2018,‏ 10:13pm UTC](https://meta.discourse.org/t/update-failed-pg-error/103684/8 "2018-12-20T22:13:19Z")

</div>

It turns out that the problem was that the poll had been duplicated in a quote block, and the migration didn’t know to ignore it. It was in a PM, apparently as an example of how polls worked. I deleted the duplicate and the migration ran fine.

---

_[View the full topic](https://meta.discourse.org/t/update-failed-pg-error/103684)._
