summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 15:09:19 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 15:09:19 +0000
commit20ddcb963c756f5c7df26046adb01a8e325a26cd (patch)
tree6bd96e9d61c206cfe4a912270edbe797d51dc6c9 /lib/gitlab/background_migration
parentf62c9f693fbe0d9bfac43cbe24b86af3c35f6a17 (diff)
downloadgitlab-ce-20ddcb963c756f5c7df26046adb01a8e325a26cd.tar.gz
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