# No se puede eliminar la insignia si un usuario la tiene como su insignia de título

**URL:** <https://meta.discourse.org/t/cant-delete-badge-if-a-user-has-it-as-their-title-badge/153121>\
**Category:** Bug\
**Created:** [28 Mayo, 2020 16:59 UTC](https://meta.discourse.org/t/cant-delete-badge-if-a-user-has-it-as-their-title-badge/153121 "2020-05-28T16:59:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [28 Mayo, 2020 17:32 UTC](https://meta.discourse.org/t/cant-delete-badge-if-a-user-has-it-as-their-title-badge/153121/2 "2020-05-28T17:32:20Z")

</div>

`TABLE "user_profiles" CONSTRAINT "fk_rails_38ea484ed4" FOREIGN KEY (granted_title_badge_id) REFERENCES badges(id)`

¿Qué te indica `SELECT * FROM user_profiles where granted_title_badge_id = 118;`?

---

_[View the full topic](https://meta.discourse.org/t/cant-delete-badge-if-a-user-has-it-as-their-title-badge/153121)._
