# PG Fout bij herbouwen - kolom "token" van relatie "email\_tokens" bestaat niet

**URL:** <https://meta.discourse.org/t/pg-error-on-rebuild-column-token-of-relation-email-tokens-does-not-exist/211934>\
**Category:** Self-hosting\
**Created:** [13 december 2021 om 09:03 UTC](https://meta.discourse.org/t/pg-error-on-rebuild-column-token-of-relation-email-tokens-does-not-exist/211934 "2021-12-13T09:03:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [13 december 2021 om 10:43 UTC](https://meta.discourse.org/t/pg-error-on-rebuild-column-token-of-relation-email-tokens-does-not-exist/211934/4 "2021-12-13T10:43:55Z")

</div>

Sounds like a bug. I don’t suppose that you have SKIP\_POST\_DEPLOYMENT\_MIGRATIONS set, so you?

Or, maybe as a work around you can set it to 1 in your `app.yml`, run the rebuild, and then either change it back and upgrade again or inside the container, set it to zero and migrate on the command line.

---

_[View the full topic](https://meta.discourse.org/t/pg-error-on-rebuild-column-token-of-relation-email-tokens-does-not-exist/211934)._
