Upgrading my production site just now via the UI returned the following error:
Failed to migrate default #<StandardError:"An error has occurred, this and all later migrations canceled:\n\nERROR: duplicate key value violates unique constraint \"index_site_settings_on_name\"\nDETAIL: Key (name)=(admin_sidebar_enabled_groups) already exists.\n">
Posting the error here in case it’s not already being dealt with.