Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220913082824_finalize_invalid_group_member_cleanup.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d5fb04f3fa3c5fcc36e187c47d91ee1d1e601d1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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