# Undeclared attribute type for enum 'chat\_send\_shortcut' in UserOption

**URL:** https://meta.discourse.org/t/undeclared-attribute-type-for-enum-chat-send-shortcut-in-useroption/352308
**Category:** Development
**Created:** [February 14, 2025, 3:42pm UTC](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-chat-send-shortcut-in-useroption/352308 "2025-02-14T15:42:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dsims](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dsims/32/485916_2.png) [@dsims](https://meta.discourse.org/u/dsims)
#### Post date: [March 11, 2025, 6:32pm UTC](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-chat-send-shortcut-in-useroption/352308/2 "2025-03-11T18:32:42Z")

</div>

I ran into this same issue adding a new enum. Turns out I had to explicitly run the plugin migrations for the test environment:  
`RAILS_ENV=test LOAD_PLUGINS=1 bin/rails db:migrate`

---

_[View the full topic](https://meta.discourse.org/t/undeclared-attribute-type-for-enum-chat-send-shortcut-in-useroption/352308)._
