debian-mirror-gitlab/db/migrate/20220913082824_finalize_invalid_group_member_cleanup.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
588 B
Ruby
Raw Normal View History

2022-11-25 23:54:43 +05:30
# frozen_string_literal: true
class FinalizeInvalidGroupMemberCleanup < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_main
def up
# noop: this fails because the cleanup invalid members migration(ScheduleDestroyInvalidGroupMembers)
# cannot succeed, so we need to cleanup that first.
#
# issue with some details: https://gitlab.com/gitlab-org/gitlab/-/issues/365028#note_1107166816
# # incident: https://gitlab.com/gitlab-com/gl-infra/production/-/issues/7779
end
def down
# noop
end
end