# ActiveRecord::StatementInvalid: PG::UndefinedColumn: ERROR: column categories.search\_priority does not exist

**URL:** <https://meta.discourse.org/t/activerecord-pg-error-column-categories-search-priority-does-not-exist/111982>\
**Category:** Bug\
**Created:** [3월 18, 2019, 11:42오후 UTC](https://meta.discourse.org/t/activerecord-pg-error-column-categories-search-priority-does-not-exist/111982 "2019-03-18T23:42:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)\
**Post date:** [3월 19, 2019, 12:12오전 UTC](https://meta.discourse.org/t/activerecord-pg-error-column-categories-search-priority-does-not-exist/111982/4 "2019-03-19T00:12:58Z")

</div>

Thanks @Falco for reminding be of the migrations the yml config - this pointed me in the right direction.

I can confirm that the following change “fixed” this issue for me:  
[https://meta.discourse.org/t/multisite-builds-are-currently-broken-under-new-native-theme-changes/60865/10?u=deanmarktaylor](https://meta.discourse.org/t/multisite-builds-are-currently-broken-under-new-native-theme-changes/60865/10)

However previously Sam made a change because of this happening twice:  
[https://meta.discourse.org/t/multisite-builds-are-currently-broken-under-new-native-theme-changes/60865/13?u=deanmarktaylor](https://meta.discourse.org/t/multisite-builds-are-currently-broken-under-new-native-theme-changes/60865/13)

This might need visiting again.

---

_[View the full topic](https://meta.discourse.org/t/activerecord-pg-error-column-categories-search-priority-does-not-exist/111982)._
