# Undefined method \`image\_upload\_id’

**URL:** <https://meta.discourse.org/t/undefined-method-image-upload-id/207028>\
**Category:** Product Support\
**Created:** [October 25, 2021, 8:04pm UTC](https://meta.discourse.org/t/undefined-method-image-upload-id/207028 "2021-10-25T20:04:24Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![oluies](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/oluies/32/120194_2.png) [@oluies](https://meta.discourse.org/u/oluies)\
**Post date:** [October 25, 2021, 8:04pm UTC](https://meta.discourse.org/t/undefined-method-image-upload-id/207028/1 "2021-10-25T20:04:24Z")

</div>

Trying to upgrade getting this

```plaintext
> sudo RAILS_ENV=production bundle exec rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Invoke environment
** Invoke set_locale (first_time)
** Execute set_locale
** Execute db:migrate
** Invoke db:_dump (first_time)
** Execute db:_dump
rake aborted!
NoMethodError: undefined method `image_upload_id' for #<Badge:0x00005563e22761e0>
Did you mean? image_upload
               image_upload=

```

---

_[View the full topic](https://meta.discourse.org/t/undefined-method-image-upload-id/207028)._
