mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-10 01:31:45 +00:00
17 lines
371 B
Ruby
17 lines
371 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Gitlab
|
|
module BackgroundMigration
|
|
class DeleteTwitterIdentities < BatchedMigrationJob
|
|
feature_category :system_access
|
|
operation_name :delete_twitter_identities
|
|
|
|
def perform
|
|
each_sub_batch do |sub_batch|
|
|
sub_batch.where(provider: 'twitter').delete_all
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|