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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 18:09:19 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 18:09:19 +0300
commit20ddcb963c756f5c7df26046adb01a8e325a26cd (patch)
tree6bd96e9d61c206cfe4a912270edbe797d51dc6c9 /lib/gitlab/background_migration
parentf62c9f693fbe0d9bfac43cbe24b86af3c35f6a17 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/background_migration')
-rw-r--r--lib/gitlab/background_migration/destroy_invalid_members.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/destroy_invalid_members.rb b/lib/gitlab/background_migration/destroy_invalid_members.rb
index 17a141860ec..b274c71f24f 100644
--- a/lib/gitlab/background_migration/destroy_invalid_members.rb
+++ b/lib/gitlab/background_migration/destroy_invalid_members.rb
@@ -9,7 +9,7 @@ module Gitlab
def perform
each_sub_batch do |sub_batch|
deleted_members_data = sub_batch.map do |m|
- { id: m.id, source_id: m.source_id, source_type: m.source_type }
+ { id: m.id, source_id: m.source_id, source_type: m.source_type, access_level: m.access_level }
end
deleted_count = sub_batch.delete_all