Versions:ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-linux]Rails 5.1.7sidekiq 6.0(Gem)
In my application I can add one string column and this column is added to a database table that is used to assign one paramter to existing table. I use ActiveRecord::Migration add_column to add the column.
The column is indeed added, but when I run the Sidekiq job, it complains about this new column missing:ActiveModel::UnknownAttributeError: unknown attribute 'visma_id' for BookingItem.
Restarting Sidekiq doesn't help.
This doesn't happen in development, only in production.
Any suggestions?