# Upgrades failing on migration with unique constraint violation

**URL:** <https://meta.discourse.org/t/upgrades-failing-on-migration-with-unique-constraint-violation/66737>\
**Category:** Product Support\
**Created:** [Julho 24, 2017, 9:06pm UTC](https://meta.discourse.org/t/upgrades-failing-on-migration-with-unique-constraint-violation/66737 "2017-07-24T21:06:45Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [Outubro 9, 2017, 8:57pm UTC](https://meta.discourse.org/t/upgrades-failing-on-migration-with-unique-constraint-violation/66737/3 "2017-10-09T20:57:02Z")

</div>

Maybe try hard nuking the badge from the badges table?

---

_[View the full topic](https://meta.discourse.org/t/upgrades-failing-on-migration-with-unique-constraint-violation/66737)._
