Rubygem-foreman_default_hostgroup-7.0.0-1.fm3_10.el9.noarch fails to install due to db:migrate rake error

rubygem-foreman_default_hostgroup-7.0.0-1.fm3_10.el9.noarch does not install due to rake error created by db/migrate/20221103122801_fix_default_hostgroup_settings_category_to_dsl.rb

Expected outcome:
foreman_default_hostgroup plugin gets installed

Foreman and Proxy versions:

Distribution and version:
CentOS Stream release 9
Linux 5.14.0-447.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 7 10:46:15 UTC 2024 x86_64 x86_64 x86_64

Other relevant data:
Committed fix in Update 20221103122801_fix_default_hostgroup_settings_category_to_dsl.rb by Jutulind · Pull Request #64 · theforeman/foreman_default_hostgroup · GitHub