# New index on post\_custom\_fields can not be created

**URL:** <https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434>\
**Category:** Bug\
**Created:** [Julho 26, 2015, 12:36am UTC](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434 "2015-07-26T00:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 13

<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:** [Julho 28, 2015, 12:50am UTC](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434/13 "2015-07-28T00:50:46Z")

</div>

This should fix you up:

[https://github.com/discourse/discourse/commit/ea5ef3bcf69b70f9b68edd2aeb3b2122a61b2b45](https://github.com/discourse/discourse/commit/ea5ef3bcf69b70f9b68edd2aeb3b2122a61b2b45)

Wait till it hits tests-passed

---

_[View the full topic](https://meta.discourse.org/t/new-index-on-post-custom-fields-can-not-be-created/31434)._
