Undefined method `image_upload_id’

Trying to upgrade getting this

> 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=
1 Like

do you have custom badges ?

1 Like

Not sure maybe just something I tried

select id, name,image from badges order by created_at desc;
id | name | image
-----±----------------------±------
48 | Wiki Editor |
47 | Devotee |
46 | Aficionado |
45 | Enthusiast |
101 | Licensed |
100 | Certified |
44 | New User of the Month |
43 | First Reply By Email |
42 | First Onebox |
41 | First Emoji |
40 | First Mention |
35 | Crazy in Love |
34 | Higher Love |
33 | Out of Love |
39 | Empathetic |
32 | Gives Back |
38 | Thank You |
31 | Admired |
37 | Respected |
36 | Appreciated |
30 | Famous Link |
29 | Hot Link |
28 | Popular Link |
24 | Anniversary |
20 | Great Topic |
19 | Good Topic |
18 | Nice Topic |
8 | Great Post |
7 | Good Post |
6 | Nice Post |
10 | Editor |
9 | Autobiographer |
5 | Welcome |
23 | Great Share |
22 | Good Share |
21 | Nice Share |
12 | First Share |
27 | Champion |
26 | Campaigner |
25 | Promoter |
13 | First Flag |
11 | First Like |
15 | First Quote |
14 | First Link |
16 | Read Guidelines |
17 | Reader |
4 | Leader |
3 | Regular |
2 | Member |
1 | Basic User |