Fix data in import_sources column of application_settings
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/118026 incorrectly saved import_sources as serialized string instead of as serialized YAML. This commit: - Fixes the original migration to properly store import_sources as serialized YAML. - Introduces a new migration to convert the serialized string to YAML in any environments where the migration has already run. Changelog: fixed
显示
- db/migrate/20230419105225_remove_phabricator_from_application_settings.rb 5 个添加, 5 个删除...419105225_remove_phabricator_from_application_settings.rb
- db/migrate/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal.rb 26 个添加, 0 个删除...rces_on_application_settings_after_phabricator_removal.rb
- db/schema_migrations/20230426102200 1 个添加, 0 个删除db/schema_migrations/20230426102200
- spec/migrations/20230419105225_remove_phabricator_from_application_settings_spec.rb 4 个添加, 2 个删除...5225_remove_phabricator_from_application_settings_spec.rb
- spec/migrations/20230426102200_fix_import_sources_on_application_settings_after_phabricator_removal_spec.rb 34 个添加, 0 个删除...on_application_settings_after_phabricator_removal_spec.rb
加载中
想要评论请 注册 或 登录