diff options
Diffstat (limited to 'lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects.rb')
-rw-r--r-- | lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects.rb b/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects.rb index 3a9049b1f19..89863458676 100644 --- a/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects.rb +++ b/lib/gitlab/background_migration/disable_legacy_open_source_license_for_one_member_no_repo_projects.rb @@ -6,6 +6,8 @@ module Gitlab class DisableLegacyOpenSourceLicenseForOneMemberNoRepoProjects < ::Gitlab::BackgroundMigration::BatchedMigrationJob PUBLIC = 20 + operation_name :disable_legacy_open_source_license_for_one_member_no_repo_projects + # Migration only version of `project_settings` table class ProjectSetting < ApplicationRecord self.table_name = 'project_settings' @@ -13,7 +15,6 @@ module Gitlab def perform each_sub_batch( - operation_name: :disable_legacy_open_source_license_for_one_member_no_repo_projects, batching_scope: ->(relation) { relation.where(visibility_level: PUBLIC) } ) do |sub_batch| one_member_no_repo_projects = |