[Debian native package] upgrade from 13.5.7 to 13.6.5 fails during db:migrate with with undefined method `set_attribute_was' for #<GenerateCiJwtSigningKey::ApplicationSetting:0x00005572bdec4c00>
Upgrades has been working fine till 13.5.7 but started failing with the last upgrade to 13.6.5. More details here https://bugs.debian.org/981542
I could reproduce it in a clean install of 13.5.7 and upgrade as well as an older test machine where I have been upgrading from earlier versions.
Clean install of 13.6.5 works fine without any issues. I tried adding a manual require to attr_encrypted//adapters/active_record.rb in the failing migration file but that did not change anything. Any ideas?