Upgrade to 8.6.1 breaks migrations
We upgraded our centos package to 8.6.1 yesterday, which led to migrations breaking and our CE instance going down.
The fault seems to be in https://gitlab.com/gitlab-org/gitlab-ce/blame/master/db/migrate/20160301124843_add_visibility_level_to_groups.rb#L8 -- Investigating into that yields that in our instance, all visibility levels are restricted, and so the helper method "allowed_visibility_level" returns nil, crashing the migration.
How to best resolve this?